FeaturesPluginsDocs & SupportCommunityPartners

innertesters

This is the home page for the Inner Testers module.

This module is obsolete as of NetBeans 4.0.

Summary

The Inner Testers module permits you to unit-test classes in a simple, convenient way: write a testing class as a public static inner class of the class to be tested, where the testing class should be runnable as a standalone Java "application" indicating how the test went. You can access private members of the outer class. Just hit Execute to run the test. See the module's online help for details.

Screenshot

Use with JUnit

Fokko Degenaar writes that JUnit support is possible using this module without any extra coding (just some setup). His message

Contact

Currently developed by Jesse Glick. Original idea due to Skip Hovsmith (thanks Skip!).

Comments and questions welcome. Send to nbusers or nbdev.

Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by