Creating a Unit Test Project

Test fixture files (and the test cases within them) can only be created in a unit test project.

  1. While in the Team Developer perspective, select File > New > Other.

    This opens the New dialog box.

  2. Expand Micro Focus COBOL, and then click COBOL Unit Test Project.
  3. Click Next.

    This opens the New COBOL Unit Test Project dialog box.

  4. In the Project name field, type TestAirportDemo.
  5. Click Finish.

    The project is created, and displayed in the tree view.

Next you must add the test fixture file that will contain your test cases.