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. 回答1: Menu "Run/Test Project". 回答2: In NetBeans 7.1 you can create a test suite, to which you can add as many of your JUnit test files as