New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn if any tests fail during baselining #111
Comments
I'd even go for failing if any test fails due this phase (by default). At least my tool for Ruby does go this way. Its better for user education. Especially as baselining happens in parallel and most test suites by default cannot handle it at one or another point, its better to error out and force the user to think/fix that invariant. This leads to less confusing end-user bug reports abut phantom coverage, and an overall better experience. |
+1 for failing everything if baseline fails. Btw I think I'll start working on that ASAP b/c I've seen it in production. Check out the change at: The unmodified version of the code is a typo (or copy&paste error). There are many similar |
Just another 👍 with a reference here, PITest (Java) also fails when anything goes wrong in the baseline. |
Cosmic Ray exits with status 2 if baseline test execution fails. Also prints on the console anything that was returned by the test runner.
Cosmic Ray exits with status 2 if baseline test execution fails. Also prints on the console anything that was returned by the test runner.
In general we should expect all tests to pass on a baselining run. This is equivalent to expecting all tests to pass on un-mutated code! Look into the best way to warn the user in these cases.
Original idea by @Zitrax in #110.
The text was updated successfully, but these errors were encountered: