Use this process to create a unit test project in your workspace, where you can either directly populate it with the code
under test, or link it to other projects in your workspace.
-
While in the COBOL perspective, click
and then select the appropriate project type for the code under test:
COBOL Unit Test Project for native COBOL, or
COBOL JVM Unit Test Project for JVM COBOL.
The
New COBOL Unit Test Project dialog box appears.
-
In the
Project name field, type a name for the project.
-
Click
Finish.
The project is created, and displayed in the COBOL Explorer pane.
You should now create unit tests, in which you can code your test cases.