Open bitcoder opened 9 months ago
If we're using surefire and failsafe together, and we run
mvn test failsafe:integration-test
it will generate the results of the last task (i.e., failsafe:integration-test).
if we run mvn failsafe:integration-test test
it will produce the JUnit XML report just based on the surefire tests...
Whenever running spring boot tests, this extension seems to overwrite the unit tests produced by surefire with the integration tests ran by failsafe. This needs to be investigate further to see exactly how many times junit listener is being instantiated (my guess is twice).