I am trying to debug a failing unit test, when I put run debug, the test runs and continues until it ends all the tests without stopping at any breakpoint, is that normal ?
I am trying to debug a failing unit test, when I put run debug, the test runs and continues until it ends all the tests without stopping at any breakpoint, is that normal ?
It's not possible to trigger breakpoints when running tests through maven.
This is due to the fact that maven runs a new jvm when it executes, and it's not easy to connect from your IDE.
You're better off to run tests locally in your IDE if you want to test breakpoints.
If you need to see some information whilst running maven tests - add some logging with the relevant information.