Xray-App / xray-junit-extensions

Enhanced JUnit 5 integration with Xray Test Management for Jira
Eclipse Public License 2.0
16 stars 8 forks source link

integration with spring boot unit and integration tests #44

Open bitcoder opened 9 months ago

bitcoder commented 9 months ago

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).

bitcoder commented 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...