Run -> Test Name". How to run tests in debug mode? Debug icon runs t...">

Debug Spock tests in Intellij IDEA

I run Spock tests using "Right Click -> Run -> Test Name". How to run tests in debug mode? Debug icon runs tests, but does not stop at breakpoints

+5
source share
3 answers

This usually works fine. If this is not the case, this could be a problem for your IDE and Groovy or Grails. I recommend trying with the latest version of IDEA.

0
source

I believe this may be a mistake in the way meta classes work in groovy. I found that a breakpoint will work if it is not in the control structure or closure. I found work on the intellij forums:

http://youtrack.jetbrains.com/issue/IDEA-82741

0

, RightClick → ( )

0

All Articles