mocha-parallel-tests
mocha-parallel-tests copied to clipboard
Investigate: bail behaviour
Currently --bail
behaviour is weird in mocha-parallel-tests
. In mocha
if one test case fails others don't get executed. mocha-parallel-tests
does this for each process and these processes don't know about each other. Ideally we need to stop running tests in other processes if in some process test execution fails. However we can consider other options here:
- stop running tests, emit what we have right now for each process
- stop running tests, emit only failed process events
- something different?