I don't know anything about netbeans or the gwt plugin,
but if you can't get that working there is always the
fallback option of telling maven to run the test jvm
listening for a debugger attaching and then get netbeans
to attach, there is probably a "Debug Remote Apllication"
option somewhere

Off the top of my head the arg would be something like

mvn -Dmaven.junit.jvmargs='-Xdebug
-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=y' \
 -Dtestmatchpattern=MyTest test


Cheers, Vic


-----Original Message-----
From: Farrukh Najmi [mailto:farr...@wellfleetsoftware.com] 
Sent: 18 April 2009 20:54
To: user@mojo.codehaus.org
Subject: [mojo-user] Debugging Junit tests using
org.codehaus.mojo:gwt-maven-plugin and Netbeans



I am looking for some guidance on how to do Junit testing  with 
org.codehaus.mojo:gwt-maven-plugin and Netbeans IDE. Specifically, I
cannot figure out how to configure an action so I can 
debug a single test that extends GwtTestCase.
Is there anyone who uses Netbeans that can help?

Once I figure things out, I am willing to create a wiki page the takes 
the following page as starting point:

<http://code.google.com/webtoolkit/doc/1.6/DevGuideTesting.html>

and provide additional details on how to use mvn goals for 
org.codehaus.mojo:gwt-maven-plugin and how to configure Netbeans actions
and how to run and debug all tests or a single test. 
Nicolas, is there a project wiki where we can start such a page?

-- 
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


This e-mail and any attachments are for the intended addressee(s) only
and may contain confidential and/or privileged material. If you are not a
named addressee, do not use, retain or disclose such information.
This email is not guaranteed to be free from viruses and does not bind
Serco in any contract or obligation.
Serco Limited. Registered in England and Wales. No: 242246
Registered Office: Serco House,16 Bartley Wood Business Park, Hook,
Hampshire RG27 9UY United Kingdom.

Help cut carbon...please don’t print this e-mail unless you really need to.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to