A test fixture is a set of objects, having known values, that provide data for the test cases. Any class can serve as a test fixture, but JDeveloper provides wizards to help you create custom test fixture classes and various specialized test fixture classes:
To create a JUnit custom test fixture class:
The class created by the wizard will be opened for editing.
Modify the file as needed. In particular, add code that initializes test fixture objects to the setUp() method, and add code that releases any resources they acquire to the tearDown() method.
Creating a JUnit Test for a Generic Java Project
Creating a JUnit JDBC Test Fixture
Creating a JUnit Test Case
Creating a JUnit Test Suite