C H A P T E R 42
Testing NetBeans Platform Applications
Two different kinds of tests can be identified for implementing and running tests with NetBeans Platform applications: unit tests and functional tests. This chapter will address both kinds of tests and the support NetBeans provides for them.
Unit tests for NetBeans Platform applications are implemented based on the popular test framework JUnit. NetBeans provides an extension of JUnit with the library NB JUnit. This library provides numerous helper classes, which make testing classes and methods within the NetBeans Platform a lot easier.
Caution JUnit is no longer part of the NetBeans IDE. Now, at installation you will be asked whether you want to install JUnit or not. The ...