Understanding Generator Requirement Quality Ratings
Eggplant Generator automatically assesses and scores each of your inbound requirements upon import with a quality rating when it is generating or regenerating your assets. The Requirement quality ratings are Simple, Detailed, and Ambiguous.
Generator scores your requirements on the following criteria:
- Syntax: variations in language clarity
- Semantics: clarity of the meaning of the requirement
- Complexity: how rich and detailed the requirement specification
The scores are on a scale of 1 to 5, with 5 being the highest. Based on the assessed score, Generator then dynamically adjusts its generation approach, fine-tuning its internal parameters to better handle simple, complex, or ambiguous requirements. These assessments and adjustments ensure the best possible generated Gherkin scenarios and test cases for each individual requirement. You can then use this feedback to improve clarity and detail in your requirements before regenerating assets.
You can see these ratings by selecting a collection, displaying a requirement, and then looking at its Requirements tab.
The requirements rating capability became available in Eggplant Generator version 1.2.
Following are examples of Generator's requirement assessment and scoring:


Example 1: Shows a requirement that Generator categorized as 'Simple' because it clearly describes a single action. It scored Syntax as a 5, Semantics as a 5, and Complexity as a 1 for the reasons shown.


Example 2: Shows a requirement that Generator categorized as 'Detailed' because it specifies multiple parameters for filtering products. It scored Syntax as a 4, Semantics as a 3, and Complexity as a 4 for the reasons shown.


Example 3: Shows a requirement that Generator categorized as 'Ambiguous' because it does not specify what constitutes a smooth, modern checkout process. It scored Syntax as a 3, Semantics as a 2, and Complexity as a 3 for the reasons shown.
Next Steps: Downloading Test Assets
Click Next below to continue to Downloading Test Assets.