Creating test harnesses
Use the New Test Harness wizard to create new test harnesses. A test harness contains one or several test cases and is required to run the test, it also includes source files under test, stubs, and Target Deployment Port (TDP) configuration settings.
Procedure
To create a test harness from the project explorer:
- In the project explorer, right-click the project and click .If you select a function, skip to step 3.The Create Test Case wizard opens.
- In the Create Test Harness wizard, select one or several
test cases that you want to run together and click Next.
If no test cases exist, you can click New Test Case to create a new one.
- On the Test Harness Location page, select the folder and name for the test harness and click Finish.