Did you set a breakpoint in your test?  You should be able to run "ant war",
refresh your project and then run your tests from w/in Eclipse.  If you can
run them, you can debug them.

Matt

On 12/22/06, ftravers <[EMAIL PROTECTED]> wrote:


I'm trying to debug a testcase in eclipse.  However when I run what I
think
is the right command it doesn't suspend until I connect to it on port
4000.
The build does look like it supplies 'suspend=y' argument...what am I
doing
wrong?

I ran

ant -Denterprice-debug=true -Dtestcase=StoreAction test-web

ant got some output like:

...snip...

with-debug:
     [echo] Running in debug mode : Listening on port 4000 ...

no-debug:

check-debug:

test-web:
     [echo] Testing web...

...snip...

But then it rolled on to the testcase without giving me time to connect to
it!
--
View this message in context:
http://www.nabble.com/debugging-testcases-in-eclipse-tf2872130s2369.html#a8027688
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

Reply via email to