michaelleeallen / mocha-junit-reporter

A JUnit XML reporter for mocha.
MIT License
144 stars 153 forks source link

reporter-options `toConsole` and/or `outputs` do not show failed test cases and CI/CD pipeline continues to run which is wrong #162

Open ghost opened 2 years ago

ghost commented 2 years ago

None of these options show failed cases on the console. The CI/CD pipeline continues to run which is wrong.

./node_modules/.bin/nyc --timeout 10000 --recursive --check-leaks --exit --reporter=lcov --reporter=text --reporter=text-summary --reporter=html ./node_modules/.bin/_mocha --reporter mocha-junit-reporter --reporter-options mochaFile=test_reports/mocha/test-results.xml --reporter-options outputs=true --reporter-options toConsole=true 'test/**/*.test.ts'