JUnit tests pass but PIT says the suite isn’t green
The common causes of tests failing at the coverage stage are PIT picking up tests not included/are excluded in the normal test config Tests rely on an environment variable or other property set in the test config, but not set in the pitest config Tests have a hidden order dependency that is not revealed during … Read more