I'm not too sure of what I've changed in my setup but now it works for some
test classes.
When it still does not, I revert to this workaround: instead of running the
test from Eclipse, I launch it from the maven command line, and attach the
debugger in Eclipse to debug what I need to debug.

For instance to debug hudson.model.UserTest:

mvnDebug -Dtest=hudson.model.UserTest -Dmaven.surefire.debug test



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Trouble-running-JUnit-test-in-jenkins-test-harness-from-Eclipse-tp4716970p4718282.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to