I get into trouble while I try to run my JUnit test through gradle test task. While I run test in eclipse directly with Run As -> JUnit test, everything is ok, test succeeds
I'm on 4.6 (gradle) and I'm able to debug my tests when I have this in my build.gradle file:
test { debug true }
Link - https://docs.gradle.org/4.6/userguide/userguide_single.html#sec:java_test