Adding TestNG support in Netbeans

Setup Environment

  • Install the TestNG for Ant plugin
  • In the Installed plugin list, make sure it is activated – if not activate it.
  • Restart Netbeans
  • In, 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.

Tagged , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: