- Install the TestNG for Ant plugin
- In the Installed plugin list, make sure it is activated – if not activate it.
- Restart Netbeans
- In project.properties, look for a line that sets javac.test.classpath and add a new line below: j2ee.platform.classpath=$(javac.test.classpath)
TestNG is now available by doing a right click.
===== EDIT ======
The integration is not great and I have decided to remove it in the end.Advertisements