Description
The G-Cases platform can be used to create a suite of Test Data Cases. Within each suite, you can set up multiple testing Categories (Load, Unit, Negative, Integration, etc.) and define individual Test Data Cases within each category.
Each individual Test Data Case can also have added Test Data Rules and Queries, which are applied when the Test Data Case is run by GenRocket Runtime.
In This Article
- Self Service Test Data Portal Diagram
- Simple Workflow Example for Test Data Cases
- Using Rules and Queries with Test Data Cases
- Generating Test Data with Test Data Cases
Self Service Test Data Portal Diagram
Simple Workflow Example for Test Data Cases
Here is a sample tree view showing a simple workflow for Test Data Cases:
- Test Data Case Suite 1
- Category (Load)
- Test Data Case 1
- Test Data Case 2
- Category (Unit)
- Test Data Case 1
- Test Data Case 2
- Category (Load)
- Test Data Case 2
- Category (Integration)
- Test Data Case 1
- Test Data Case 2
- Category (Integration)
Here is the same tree view shown above as a workflow diagram:
Using Rules and Queries with Test Data Cases
Test Data Rules and Queries can be added to a Test Data Case and applied when the Test Data Case is run by GenRocket Runtime.
Here is a tree view showing a simple workflow for Test Data Cases with added Test Data Rules and Queries:
- Test Data Case Suite 1
- Test Data Category 1
- Test Data Case 1
- Test Data Rules 1
- Test Data Case 2
- Test Data Query 1
- Test Data Case 1
- Test Data Category 2
- Test Data Case 1
- Test Data Rules 1
- Test Data Rules 2
- Test Data Query 1
- Test Data Query 2
- Test Data Case 1
- Test Data Category 1
Here is the same tree view shown above as a workflow diagram:
Generating Test Data with Test Data Cases
Test Data Cases can be run manually by running the corresponding command line in a Command or Terminal Window. GenRocket also offers options for automating this process. Test Data Cases can be used to generate test data in two ways:
- Run on their own with a downloaded Scenario, ScenarioChain, or ScenarioChainSet in GenRocket Runtime
- Assigned to and applied when a Test Data Story or Epic is run in GenRocket Runtime
Note: Any added Rules or Queries will be employed automatically during test data generation when added to the Test Data Case.
Note: For more information about configuring and using Test Data Cases, click here.