Ben Software Engineer [
https://community.jboss.org/people/ben.maisano] created the
discussion
"Re: getting started unit testing - embedded JBoss AS 7?"
To view the discussion, visit:
https://community.jboss.org/message/794062#794062
--------------------------------------------------------------
Hi,
I'm using arquillian jboss managed setup, so I would expect it runs the tests in
the server's jvm. I cannot get a debug breakpoint to hit. Details about debugging
are here, but no answer yet on this thread:
http://stackoverflow.com/questions/13082380/debugging-remote-container-wi...
http://stackoverflow.com/questions/13082380/debugging-remote-container-wi...
I would assume an embedded is just like normal junit, debug just works. With managed or
remote it seems they both involve another JVM that must be launched in debug mode and then
you remotely attach to the debugging jvm with your IDE. I'm not sure if how maven
kicks it off is playing a role, but I cannot get it to work. I have got jvm to hault, and
I connect to it, however my breakpoints do not hit. I have breakpoints in the
junit/arquillian test class as well as within an ejb method the test class is calling.
Any ideas?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/794062#794062]
Start a new discussion in Beginner's Corner at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]