I had somewhat similar issue. My Integration tests were not being picked up. My project is a multi module spring boot project. And my mistake was that I added maven-failsafe-plugin in the parent POM. After fiddling around with many options I placed the failsafe-plugin in the module pom where all my integration tests were present which solved my problem.
In this post, we learnt Maven Failsafe Plugin, a plugin for integration testsexecution in Maven. We saw the lifecycle & goal execution, JUnit 4 & JUnit 5integration, test reports generation, and some useful commands. As usual, thesource code is available on GitHub: mincong-h/maven-failsafe-plugin-demo.
df19127ead