Description
Test Data Stories (e.g., G-Stories or GStories) are used to package individual Test Data Cases together with Scenarios, Scenario Chains, and Scenario Chain Sets. Stories contain one or many chapters and are organized into suites. Each suite may contain multiple Stories.
Within the G-Stories platform, you can set up a suite of Test Data Stories, which can be used to further customize how test data is generated by GenRocket. Stories can be independent of each other or inherit from another story (parent/sibling relationships). Test Data Story Suites can only exist within a given Project Version.
In this Article
- When Should Stories Be Used?
- Self Service Test Data Portal Diagram
- How to Access and Manage G-Stories
- G-Repository Server/Client (Recommended)
- Additional Prerequisites
- How Do Test Data Stories Work?
- Helpful Articles
When Should Stories Be Used?
- Stories should be used when multiple Test Data Cases must be combined with different Scenarios, Scenario Chains, and Scenario Chain Sets to generate complex test data.
Self Service Test Data Portal Diagram
How to Access and Manage G-Stories
- Expand the Self Serve Menu Options menu and select G-Stories.
G-Repository Server/Client (Recommended)
- Test Data Stories require many files to be on the user's system, including multiple Scenarios, Cases or Case Suites, and configuration files.
- Using G-Repository ensures that users do not have to download all the required files manually, which can result in errors due to outdated or missing files.
Additional Prerequisites
The following steps must also be completed before using stories. Remember that the exact steps depend on what is being used to generate data, and these are more generic.
- The user has installed GenRocket Runtime.
- The user has set up their Project (Domains, Attributes, Receivers, Scenarios, etc.)
- The user has created the necessary Scenario Chains and Scenario Chain Sets.
- The user has set up one or more Test Data Cases.
How Do Test Data Stories Work?
- Add a Story Suite to the Project Version.
- Create one or more Stories.
- Add Chapters to Stories.
- Add Components to Chapters.
- Download all required files (e.g., Scenarios, Configuration Files, Test Data Cases)
- Copy the command and run it at the command line.
Note: Optionally, you can set Parent/Sibling Relationships between Stories. Chapters from the Parent Story are added to the Child Story and can be toggled on or off for test data generation.
Helpful Articles
The following articles can be used to learn more about the steps required to add and set up G-Stories:
Topic | Description |
G-Stories Management Dashboard | Learn more about G-Stories Dashboard UI Components. |
How to Add and Setup a Story | Learn about adding and setting up Test Data Stories. |