Creating a Unit Test

The following procedure shows you how to create CUnit and PUnit test suites.

  1. In the Project Navigator, right-click on the Module where you want to create a Unit Test.
  2. Select New > PUnit Suite or New > CUnit Suite
  3. Enter a name for your test suite.
  4. Enter the destination module.
  5. Click Ok.

The new test unit suite appears as a resource under your Module. You can now define your unit test within the Methods of your test suite.