For information on using testing frameworks in NetBeans IDE, see the following chapter in the User's Guide:
Developing Applications with NetBeans IDE,