A test suite is an application that invokes test cases.
The main() method of the test suite class indirectly passes itself to a JUnit runner. The default behavior of the JUnit Test Suite Wizard is to insert a call to a TestRunner class, which opens a dialog window to display the test results. Edit this method if you wish to use a different test runner.
The suite() method creates a TestSuite instance and adds the test cases to it. Edit this method if you wish to add or remove test cases.
To create a JUnit test case class:
The class created by the wizard will be opened for editing.
Modify the file as needed. In particular:
Creating a JUnit Test for a Generic Java Project
Creating a JUnit Test Suite
Creating a JUnit Custom Test Fixture
Running a JUnit Test