File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,31 +43,31 @@ npx junit-to-ctrf /path/to/junit.xml
43
43
Convert a JUnit XML report to the default CTRF report location (ctrf/ctrf-report.json):
44
44
45
45
``` sh
46
- npx junit-to-ctrf / path/to/junit.xml
46
+ npx junit-to-ctrf path/to/junit.xml
47
47
```
48
48
49
49
### Specify Output File
50
50
51
51
Convert a JUnit XML report to a specified output file:
52
52
53
53
``` sh
54
- npx junit-to-ctrf / path/to/junit.xml -o / path/to/output/ctrf-report.json
54
+ npx junit-to-ctrf path/to/junit.xml -o path/to/output/ctrf-report.json
55
55
```
56
56
57
57
### Include Tool Name
58
58
59
59
Convert a JUnit XML report and include a tool name in the CTRF report:
60
60
61
61
``` sh
62
- npx junit-to-ctrf / path/to/junit.xml -t ExampleTool
62
+ npx junit-to-ctrf path/to/junit.xml -t ExampleTool
63
63
```
64
64
65
65
### Include Environment Properties
66
66
67
67
Convert a JUnit XML report and include environment properties in the CTRF report:
68
68
69
69
``` sh
70
- npx junit-to-ctrf / path/to/junit.xml -e appName=MyApp buildName=MyBuild
70
+ npx junit-to-ctrf path/to/junit.xml -e appName=MyApp buildName=MyBuild
71
71
```
72
72
73
73
See [ CTRF schema] ( https://www.ctrf.io/docs/schema/environment ) for possible environment properties
@@ -77,7 +77,7 @@ See [CTRF schema](https://www.ctrf.io/docs/schema/environment) for possible envi
77
77
Combine all options in a single command:
78
78
79
79
``` sh
80
- npx junit-to-ctrf / path/to/junit.xml -o / path/to/output/ctrf-report.json -t ExampleTool -e appName=MyApp buildName=MyBuild
80
+ npx junit-to-ctrf path/to/junit.xml -o path/to/output/ctrf-report.json -t ExampleTool -e appName=MyApp buildName=MyBuild
81
81
```
82
82
83
83
## What is CTRF?
You can’t perform that action at this time.
0 commit comments