jstemmer / go-junit-report

Convert Go test output to JUnit XML
MIT License
776 stars 224 forks source link

`flag provided but not defined: -in` #171

Open justinTM opened 11 months ago

justinTM commented 11 months ago

when running command:

go-junit-report -in gotestout.txt -out test/report.xml

got this error:

flag provided but not defined: -in
Usage of go-junit-report:
  -go-version string
        specify the value to use for the go.version property in the generated XML
  -no-xml-header
        do not print xml header
  -package-name string
        specify a package name (compiled test have no package name in output)
  -set-exit-code
        set exit code to 1 if tests failed
  -version
        print version
Error: Process completed with exit code 2.
joschi commented 3 months ago

The -in flag is supported since go-junit-report 2.0.0.

It looks like you're running go-junit-report 1.0.0.