Creating a JUnit Test for a Generic Java Project

A JUnit test application consists of the following components:

To create a JUnit Test for a Generic Java Project:

  1. Create a new empty project for your unit test.
  2. Create your custom or JDBC test fixture classes.
  3. Create your test case classes.
  4. Create your test suite class.
  5. Build the project:
    1. In the Navigator, right-click the project.
    2. Choose Build Project.

Unit Testing with JUnit
Creating a JUnit Test for a Business Components Project
Running a JUnit Test