Reputation: 18861
I have like trillion test packages with bazillion tests and I want to run just some of packages. Now I must run whole project (some tests takes long to complete) or I need to run every single file manually. How is possible to run just some packages in NetBeans ? I can't find this option ...
Upvotes: 1
Views: 933
Reputation: 19783
If you use JUnit 4 then try ClasspathSuite and its regex filters.
Upvotes: 1
Reputation: 205785
It's probably not what you want, but the NetBeans help topic, Running a JUnit Test, says:
If you want to run a subset of the project's tests or run the tests in a specific order, you can create test suites that specify the tests to run as part of that suite. After creating a test suite you run the suite in the same way you run a single test class.
Creating a test suite is covered in the topic Creating a JUnit Test.
Upvotes: 1