javaunit-testingnetbeansjunitnetbeans6.5

How to run all JUnit test cases from NetBeans?


I have created several files with unit tests on existing classes in NetBeans project. I used menu "File/New file/JUnit/Test for Existing Class" to create test files.

I can run one file with unit tests by right click on it and select "Run File".

But I want to run all files with unit tests. How can I achieve this in the simplest way?

I am using NetBeans 6.5.


Solution

  • Menu "Run/Test Project".