Creating scenario test suites
To create a scenario test suite, add scenario test cases to the suite and then specify the order in which you want the tests to run. You can also modify the context in which to save the scenario test suite, such as the development branch or the ruleset.
When the test suite runs, the test cases run in the order that they are listed. You can reorder cases only on the page in which they display and cannot move cases or suites from one page to another.
In the header of Dev Studio, click.
Click Create new suite.
In Description, enter information that you want to include with the test suite. For example, enter information about when to run the test suite.
In the Category list, click the type of scenario test suite you are creating:
- To informally test a feature, select Ad-hoc.
- To verify critical application functionality, select Smoke.
- To confirm that changes have not adversely affected other application functionality, select Regression.
In the Scenario test cases section, click Add, select the test cases you want to add to the suite, and then click Add.To filter information by multiple criteria, click the Advanced filter icon.
To change the order in which the test cases run, drag the case to a different position in the sequence.
Save the scenario test suite:
Click Save and then enter a Label that describes the purpose of the test suite.Pega Platformautomatically generates the Identifier based on the label you provide. The identifier identifies the scenario test suite in the system. To change the identifier, click Edit. The identifier must be unique to the system.
In the Context section, change details about the environment in which the test suite will run. You can:
- Change the development branch in which to save the scenario test suite.
- Select a different application for which to run the scenario test suite.
- Change the class to apply to the scenario test suite.
- Select a different ruleset in which to save the scenario test.
- Grouping scenario tests into suites
Group related scenario tests into test suites to run multiple scenario test cases in a specified order. You can then run the scenario test suites as part of purpose-specific tests, such as smoke tests, regression tests, or outcome-based tests. Additionally, you can disable or quarantine individual scenario tests for an application so that they are not executed when the test suite runs.
- Running scenario test suites
Run scenario test suites to check application functionality. You can check the run history, add or remove test cases from the suite, or reorder the test cases before running the suite.
- Viewing scenario test suite results
After you run a scenario test suite, you can view the test results. For example, you can view the expected and actual output for assertions that did not pass.
- Creating scenario tests
Record a set of interactions for a case type or portal in scenario tests. You can run these tests to verify and improve the quality of your application.
- Application: Scenario testing landing page
The scenario testing landing page provides a graphical test creation tool that you can use to increase test coverage without writing complex code.