Skip to content
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

integration with spring boot unit and integration tests #44

Open
bitcoder opened this issue Feb 9, 2024 · 1 comment
Open

integration with spring boot unit and integration tests #44

bitcoder opened this issue Feb 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@bitcoder
Copy link
Collaborator

bitcoder commented Feb 9, 2024

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 bitcoder added the question Further information is requested label Feb 9, 2024
@bitcoder
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant