Open bnshr opened 1 year ago
the docs cover this a bit:
https://onsi.github.io/ginkgo/#generating-machine-readable-reports
though it's admittedly not super explicit.
--junit-report
should be the file name
--output-dir
should be the path to the directory where you want the file stored
I am running the test suite this way.
ginkgo --junit-report=$JUNIT_OUTPUT -v -p ./test/validation
And
JUNIT_OUTPUT="${JUNIT_OUTPUT:-/tmp/artifacts/unit_report.xml}"
When I do not set
JUNIT_OUTPUT
the default location should be taken. But I get the following error.Can anyone tell me what is wrong here? The Ginkgo version is 2.5.1 and I tried 2.8.4 also, no luck.