I have written application in GWT using NetBeans. Now I want to test my application with JUnit. I have never used JUnit before but I have basic concept of how it works. Now the question is how do I setup basic Unit test to test some of my GWT Widgets. I found THIS simple example but don't know how it can be ran in NetBeans.
+1
A:
If you have the test file, right click on it and select "Test file", or press Ctrl+F6.
If you are using a Maven 2 project, you can add the Surefire plugin to run all the test automatically when packaging.
Pere Villega
2010-07-07 11:38:02