Since Version 7 of NetBeans, JUnit has not been included with the standard installation of NetBeans. JUnit uses the Common Public License, and as such, cannot be installed by default with fresh installs of NetBeans.
You may have noticed when installing NetBeans that you are asked partway through the installation if you wish to install JUnit support. To install JUnit support during installation, you must agree to the JUnit license agreement.
If you did not install JUnit during NetBeans installation, this recipe will show you how to install JUnit support. The JUnit License Agreement page of NetBeans IDE Installer is shown in the following screenshot:
To complete this recipe, you must use either the ...