FaqJUnitUCInstallation

Do I need to install the JUnit plugin?

In NetBeans IDE 7.0, the JUnit libraries were moved from the standard distribution of the IDE to the Update Center. To run JUnit tests in the IDE you will need to install the JUnit plugin that is available from the NetBeans Update Center. You only need to install the plugin once.

You can install the JUnit plugin in the following ways.

  • Using the Install JUnit dialog the first time that you launch the IDE
  • Choosing Tools > Plugins from the main menu and installing the JUnit plugin from the list of available plugins

The Install JUnit dialog will prompt you to agree to the terms of the Common Public License - v 1.0. See the JUnit site for more about JUnit and the license.

If the JUnit plugin is not installed and you create a project from a template or open a project that references JUnit libraries, the project will be badged with a warning. You can choose Resolve Reference Problems from the project's popup menu in the Projects window.



See also:

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo