junit5-samples: mvnDebug for the junit5-maven-consumer sample doesn't hit breakpoint

One runs mvnDebug test and as expected it waits for you to attache a debugger to port 8000.

You go ahead and do that - with a breakpoint set on line 26 of FirstTest.java and it does not land on the breakpoint.

I wasn’t expecting full integration with Intellij to be working, but this issue isn’t about that, it’s about a more basic use: Maven fully in charge of the test site invocation, and Intellij being asked to watch classes being instantiated and pertinent lines to be hit. It is missing them. Is Junit5 doing something with classloaders that 4.x wasn’t previously?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

I wonder, if we should update the sample projects to include those runtime dependencies by default – until the IDE(A) integration is updated.

That’s probably a good idea.

@sormuras, I’m reopening this issue and assigning it to you – OK?