Test Name: Robot Framework - PO - single test, core output structure
Feature: Robot Framework Analysis
User Role: Product Owner
Traceability:
@SHIFT-17
Description: Verifies that uploading a single Robot Framework test produces valid, complete documentation output with the correct framework identified and at least one named test.
This Test Verifies:
| Verification Step | What It Checks |
| Documentation appears in output panel |
The tool successfully processes a Robot Framework file and displays results to the user |
| JSON output has no unresolved values |
All placeholders and variables in the output are fully resolved — nothing is left blank or templated |
| JSON framework is 'robot' |
The output correctly identifies the test framework as Robot Framework |
| JSON has 1 or more tests |
At least one test case is extracted and represented in the output |
| Every test has a non-empty test_name |
Each test in the output is properly named — no anonymous or missing test entries |
Test Name: Robot Framework - PO - Template data-driven expands one test per row
Feature: Robot Framework Analysis
User Role: Product Owner
Traceability:
@SHIFT-19
Description: Verifies that a data-driven Robot Framework test using a Template keyword expands into one individual test entry per data row in the Product Owner output.
This Test Verifies:
| Verification Step | What It Checks |
| Documentation appears in output panel |
The tool successfully processes a data-driven Robot Framework file and displays results |
| JSON output has no unresolved values |
All data row values are fully substituted — no raw variable references remain |
| JSON has 3 or more tests |
Each data row produces its own separate test entry, confirming the expansion behaviour |
| Every test has a non-empty test_name |
Each expanded test is individually and meaningfully named |
Test Name: Robot Framework - PO - FOR loop expands one test per value
Feature: Robot Framework Analysis
User Role: Product Owner
Traceability:
@SHIFT-19
Description: Verifies that a Robot Framework test containing a FOR loop expands into one individual test entry per loop value in the Product Owner output.
This Test Verifies:
| Verification Step | What It Checks |
| Documentation appears in output panel |
The tool successfully processes a Robot Framework file with FOR loops and displays results |
| JSON output has no unresolved values |
All loop iteration values are fully resolved in the output |
| JSON has 3 or more tests |
Each FOR loop iteration produces its own separate test entry, confirming expansion behaviour |
| Every test has a non-empty test_name |
Each expanded test is individually and meaningfully named |
Test Name: Robot Framework - QAM - single test, coverage matrix populated
Feature: Robot Framework Analysis
User Role: QA Manager
Traceability:
@SHIFT-18
Description: Verifies that uploading a single Robot Framework test in the QA Manager role produces a valid output that includes a populated test coverage matrix.
This Test Verifies:
| Verification Step | What It Checks |
| Documentation appears in output panel |
The tool successfully processes a Robot Framework file and displays results for a QA Manager |
| JSON output has no unresolved values |
All placeholders and variables in the output are fully resolved |
| JSON has 1 or more tests |
At least one test case is extracted and represented in the output |
| Every test has a non-empty test_name |
Each test in the output is properly named |
| First test has a non-empty test_coverage_matrix array |
The QA Manager view includes a coverage matrix with at least one entry, providing traceability and coverage insight |
Test Name: Robot Framework - QAM - Template collapses
Feature: Robot Framework Analysis
User Role: QA Manager
Traceability:
@SHIFT-20
Description: Verifies that a data-driven Robot Framework Template test is collapsed into a single test entry in the QA Manager view, with the coverage matrix capturing each data row as a separate row using the correct structure.
This Test Verifies:
| Verification Step | What It Checks |
| Documentation appears in output panel |
The tool successfully processes the data-driven file and displays results for a QA Manager |
| JSON output has no unresolved values |
All data values are fully resolved — no raw variable references remain |
| JSON has exactly 1 test |
Data-driven tests are collapsed into a single logical test entry rather than expanded, matching the QA Manager perspective |
| Coverage matrix row count matches the examples |
The coverage matrix has one row per data example, preserving full data visibility within the single test entry |
| Coverage matrix rows use the correct schema for 'robot' |
Each coverage matrix row conforms to the expected Robot Framework-specific data structure |
Test Name: Robot Framework - QAM - FOR loop collapses
Feature: Robot Framework Analysis
User Role: QA Manager
Traceability:
@SHIFT-20
Description: Verifies that Robot Framework tests containing FOR loops are collapsed in the QA Manager view, with coverage matrix rows correctly representing each loop iteration.
This Test Verifies:
| Verification Step | What It Checks |
| Documentation appears in output panel |
The tool successfully processes a Robot Framework file with FOR loops and displays results for a QA Manager |
| JSON output has no unresolved values |
All loop iteration values are fully resolved in the output |
| JSON has exactly 2 tests |
FOR loop iterations are collapsed into a smaller number of logical test entries rather than fully expanded, matching the QA Manager perspective |
| Coverage matrix row count matches the examples |
The coverage matrix captures each loop iteration as its own row, preserving full iteration visibility |
| Coverage matrix rows use the correct schema for 'robot' |
Each coverage matrix row conforms to the expected Robot Framework-specific data structure |
Test Name: Robot Framework - PO - single test, core output structure
Feature: Robot Framework Analysis
Traceability:
@SHIFT-17
Journey: A Product Owner uploads a single Robot Framework test fixture and verifies that the analysis produces valid, framework-tagged JSON output with at least one named test.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Robot Framework - PO - single test, core output structure
|
User is on the Analyze page
|
Selects format 'robot' and role 'Product Owner', uploads 'robot_single_sample.robot', and clicks 'Document test cases'
|
Output panel shows documentation; downloaded JSON has no unresolved values, framework is 'robot', contains 1+ tests, and every test has a non-empty test_name
|
Positive
|
Test Name: Robot Framework - PO - Template data-driven expands one test per row
Feature: Robot Framework Analysis
Traceability:
@SHIFT-19
Journey: A Product Owner uploads a data-driven Robot Framework template fixture and verifies that the analysis expands each data row into a separate test entry in the JSON output.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Robot Framework - PO - Template data-driven expands one test per row
|
User is on the Analyze page
|
Selects format 'robot' and role 'Product Owner', uploads 'robot_datadriven_sample.robot', and clicks 'Document test cases'
|
Output panel shows documentation; downloaded JSON has no unresolved values, framework is 'robot', contains 3+ tests, and every test has a non-empty test_name
|
Positive
|
Test Name: Robot Framework - PO - FOR loop expands one test per value
Feature: Robot Framework Analysis
Traceability:
@SHIFT-19
Journey: A Product Owner uploads a Robot Framework FOR loop fixture and verifies that the analysis expands each loop iteration into a separate test entry in the JSON output.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Robot Framework - PO - FOR loop expands one test per value
|
User is on the Analyze page
|
Selects format 'robot' and role 'Product Owner', uploads 'robot_forof_sample.robot', and clicks 'Document test cases'
|
Output panel shows documentation; downloaded JSON has no unresolved values, framework is 'robot', contains 3+ tests, and every test has a non-empty test_name
|
Positive
|
Test Name: Robot Framework - QAM - single test, coverage matrix populated
Feature: Robot Framework Analysis
Traceability:
@SHIFT-18
Journey: A QA Manager uploads a single Robot Framework test fixture and verifies that the analysis produces valid JSON output that includes a populated test_coverage_matrix for the first test.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Robot Framework - QAM - single test, coverage matrix populated
|
User is on the Analyze page
|
Selects format 'robot' and role 'QA Manager', uploads 'robot_single_sample.robot', and clicks 'Document test cases'
|
Output panel shows documentation; downloaded JSON has no unresolved values, framework is 'robot', contains 1+ tests, every test has a non-empty test_name, and the first test has a non-empty test_coverage_matrix array
|
Positive
|
Test Name: Robot Framework - QAM - Template collapses
Feature: Robot Framework Analysis
Traceability:
@SHIFT-20
Journey: A QA Manager uploads a data-driven Robot Framework template fixture and verifies that the analysis collapses all data rows into exactly one test with a correctly structured coverage matrix matching the number of examples.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Robot Framework - QAM - Template collapses
|
User is on the Analyze page
|
Selects format 'robot' and role 'QA Manager', uploads 'robot_datadriven_sample.robot', and clicks 'Document test cases'
|
Output panel shows documentation; downloaded JSON has no unresolved values, framework is 'robot', contains exactly 1 test, every test has a non-empty test_name, coverage matrix row count matches the number of data examples, and rows conform to the robot schema
|
Positive
|
Test Name: Robot Framework - QAM - FOR loop collapses
Feature: Robot Framework Analysis
Traceability:
@SHIFT-20
Journey: A QA Manager uploads a Robot Framework FOR loop fixture and verifies that the analysis collapses loop iterations into exactly two tests, each with a correctly structured coverage matrix matching the number of loop values.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Robot Framework - QAM - FOR loop collapses
|
User is on the Analyze page
|
Selects format 'robot' and role 'QA Manager', uploads 'robot_forof_sample.robot', and clicks 'Document test cases'
|
Output panel shows documentation; downloaded JSON has no unresolved values, framework is 'robot', contains exactly 2 tests, every test has a non-empty test_name, coverage matrix row count matches the loop iteration values, and rows conform to the robot schema
|
Positive
|