-
Notifications
You must be signed in to change notification settings - Fork 0
Test runs are not consistent #3
Comments
@nicojs @simondel this is probably because the tape object stream listener sticks around within the child process. Does stryker terminate the child process after each mutant is run? Another question:
doesn't actually catch the error:
That's why I tried object stream originally. Can't figure out how to do it. |
No, Styker does not terminate the child process after each test run. This is for performance reasons: spawning of a new process is very expensive. Stryker does, however, guarantee that the test runner will only be used for one test run at a time. Does An other way (hack) would be to clear Tape and all its friends from the cache (for tape itself it would be With all of that said. If tape does not keep state, the solution seems simpler. tape.createStream({ objectMode: true, port: this.port })
.on('data', ...)
.on('end', ...) You can move this out of the
No i don't. Could you create an integration test/ unit test which reproduces and error, than i can take a look. However i do know that |
In the same codebase, I'm getting wildly different mutant kill scores. Something is not working right.
The text was updated successfully, but these errors were encountered: