Generate test data and test code to test the functions of the source code. You can create individual tests for each function.

Create unit tests

Generate test data and test code for each function under test.

  1. Select the project or module to create unit tests, right-click and click the [Create Unit Test] menu.
  1. After the analysis is finished, in [Select function to be tested], select the function to perform the unit test.
    1. You can filter the function under test using [type filter text].
    2. You can use the [Selection type] combo box to select the function to be tested based on the source file or function.
    3. You can easily select and deselect all functions under test with the right-click menu.
    4. When [Run after Test Creation] is selected, the test is executed after the test data is generated.
  2. Click [Finish] to create the unit test.

Create and run tests

The [Create and Run] function allows you to create and run unit tests at once without using the [Create Unit Test] function.

  1. Select the function to be tested in the test navigator and right-click.
  1. If you select the [Create and Run] menu, it creates a test for the target function and then runs the test.

Create an integration test

You can use the toolbar menu to create an integrated test.

The integration test name is automatically assigned and can be changed using the [Rename] context menu.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.