I'm trying to debug a test in my Scala
project.
IntelliJ
runs the tests successfully, however the breakpoints in the tests never get hit.
The breakpoints inside the tested classes do get hit during the test, so I assume the problem is with ScalaTest
.
As you can see on the screenshot, the breakpoints are set in various places in the tests, however IntelliJ won't recognize them, and simply finishes the debugging.
Is there any way to make IntelliJ to hit breakpoints in scala tests?
UPD1:
I do not run tests with sbt
, I run them with Scala IntelliJ plugin, like this: