currents convert
CLI tool for converting reports from various formats to Currents-compatible format
Last updated
Was this helpful?
Was this helpful?
npx currents convert \
--input-format=junit \
--input-file=./tests.xml \
--output-dir=.currents/report-01 \
--framework=postman \
--framework-version=v11.20
# Reading the configuration
[currents] Convertion files: tests.xml
# Creating the config.json file...
# Converting files to internal Currents format
[currents] Conversion completed, report saved to: .currents/report-01<properties>
<property name="currents.artifact.{level}.path" value="./artifacts/manual/coverage.json" />
<property name="currents.artifact.{level}.type" value="coverage" />
<property name="currents.artifact.{level}.contentType" value="application/json" />
<property name="currents.artifact.{level}.name" value="Test Coverage" />
</properties><properties>
<property name="currents.artifact.attempt.{n}.path" value="./artifacts/video.mp4" />
<property name="currents.artifact.attempt.{n}.type" value="video" />
<property name="currents.artifact.attempt.{n}.contentType" value="video/mp4" />
<property name="currents.artifact.attempt.{n}.name" value="Test Video" />
</properties>