Close popover

Table of Contents

Grouping test cases into suites

Version:

You can group related unit test cases or test suites into a test suite so that you can run multiple test cases and suites in a specified order. For example, you can run related test cases in a regression test suite when changes are made to application functionality.

  • Creating unit test suites

    To create a unit test suite, add test cases and test suites to the suite and then modify the order in which you want them to run. You can also modify the context in which to save the scenario test suite, such as the development branch or the ruleset.

  • Keystores

    A keystore is a file that contains keys and certificates that you use for encryption, authentication, and serving content over HTTPS. In Pega Platform, you create a keystore data instance that points to a keystore file.

  • Opening a unit test suite

    You can view a list of the unit test suites that have been created for your application and select the one that you want to open.

  • Running a unit test suite

    You can run a unit test suite to validate rule functionality by comparing the expected value to the output produced by running the rule. Test cases are run in the order in which they appear in the suite.

  • Viewing unit test suite run results

    After you run a unit test suite, you can view the test run results. For example, you can view the expected and actual output for assertions that did not pass.

  • Adding cases to a test suite

    You can add test cases to a unit test suite. When you run a test suite, the test cases are run in the order in which they appear in the suite.

  • Viewing unit test suite run results

    After you run a unit test suite, you can view the test run results. For example, you can view the expected and actual output for assertions that did not pass.

  • Opening a unit test suite

    You can view a list of the unit test suites that have been created for your application and select the one that you want to open.

  • Running a unit test case

    Run a unit test case to validate rule functionality.

Suggest Edit

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.