Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 10.4.2

...

  1. Identify or create a Test Configuration with your preferred test generation settings.
  2. Run the Test Configuration
    • For details on testing from the GUI, seeTesting from the GUI.
      For details on testing from the command line, see Testing from the Command Line Interface.

      Tip

      Tip - Generating Tests from the Test Case Explorer

      You can generate tests for a project directly from the Test Case Explorer (which can be opened by choosing Parasoft> Show View> Test Case Explorer). Just right-click the project node in the Test Case Explorer, then choose the desired test generation Test Configuration from the Test History or Test Using shortcut menu.

       


      For details about the Test Case Explorer, see Exploring the C++test UI.

  3. Review the generated test cases.
  4. (Optional) Fine-tune test generation settings as needed.

...

If the Create one test suite per function option is selected, a test suite generated for the sample ATM project (included in the examples directory) would look like this:

 


 


...

 

 

...


...

After selecting one of these options, you can customize the pattern as needed (for instance, to generate tests into the source location). You can use the following variables when you are customizing the pattern:

...