I have a small Java project in Eclipse. I have a class of JUnit tests for each class in the project. I'm using JUnit 4, and this is not a maven project.
Is there an easy way to tell Eclipse to run all tests in all test classes at once?
Select the source directory containing all test classes, right-click, select "Run as..." and select JUnit test.
Right click on a source folder then Run As… > JUnit Test
.
Select the source directory containing all test classes, right-click, select "Run as..." and select JUnit test.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With