Can anybody explain me the purpose of test suites? I'm using idea+maven (I just started doing with maven) and i have sources like this: my classes
and i clicked to "test" on the lifecycle toolbar of my project, and the result was like this:
------------------------------------------------------- T E S T S ------------------------------------------------------- Running PersonTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running PetTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
-i didn't use test suites, so why should i have to use the test suites to test more test classes if it tested my all 2 classes? (in this case i used JUnit 3 - I know there is JUnit 4, but at first i would like to try JUnit 3), thanks.