Failures in Before and BeforeAll hooks cause xunit & json reports to fail in parallel mode #4624
Closed
4 tasks done
Labels
area: parallel mode
Regarding parallel mode
area: reporters
involving a specific reporter
type: bug
a defect, confirmed by a maintainer
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
Failures in Before and BeforeAll hooks causes xunit & json report generation to fail in parallel mode
Steps to Reproduce
beforeEach
orbefore
hook introduce an intentional failure in the hook--parallel
and--reporter json
or--reporter xunit
Expected behavior:
Actual behavior:
Report is not generated and the following error is thrown
When using
json
reporterxunit
reporterReproduces how often: 100%
Versions
v14.15.4
8.3.2
8.3.2
Additional Information
The text was updated successfully, but these errors were encountered: