I use the infection testing framework https://github.com/infection/infection
During a test some parts of the code are changed so that the test fails und does not run completely nor use the PHPUnit Teardown method.
My question is: Does someone know a method to use the teardown method with infection testing even if the mutants make the test fail?
I didn’t find an option in the readme. Maybe there is a way with PHPUnit to clear all test data even on fail (if there is no fatal error).
I hope my question is understandable. Excuse my bad english please.
Thanks a lot in advance.