Analysis Testng

Framework: BDD Generated: 2026-06-24 Model: claude-sonnet-4-6
Test Name: TestNG - PO - single test, core output structure
Feature: TestNG Analysis
User Role: Product Owner
Traceability: @SHIFT-17
Description: Verifies that uploading a single TestNG test file and documenting it produces valid, complete JSON output with at least one named test.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system responds with visible documentation after processing the file
JSON output has no unresolved values All fields in the output are fully resolved with no placeholders or missing data
JSON has 1 or more tests At least one test entry is present in the output
Every test has a non-empty test_name Each documented test is identifiable by a name
Test Name: TestNG - PO - DataProvider expands one test per row
Feature: TestNG Analysis
User Role: Product Owner
Traceability: @SHIFT-19
Description: Verifies that a data-driven TestNG test using a DataProvider is expanded into one separate test entry per data row in the Product Owner output.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system responds with visible documentation after processing the file
JSON output has no unresolved values All fields in the output are fully resolved with no placeholders or missing data
JSON has 3 or more tests The DataProvider rows are each expanded into individual test entries, producing multiple results
Every test has a non-empty test_name Each expanded test entry is identifiable by a name
Test Name: TestNG - QAM - single test, coverage matrix populated
Feature: TestNG Analysis
User Role: QA Manager
Traceability: @SHIFT-18
Description: Verifies that uploading a single TestNG test file in the QA Manager role produces valid output that includes a populated test coverage matrix.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system responds with visible documentation after processing the file
JSON output has no unresolved values All fields in the output are fully resolved with no placeholders or missing data
JSON has 1 or more tests At least one test entry is present in the output
Every test has a non-empty test_name Each documented test is identifiable by a name
First test has a non-empty test_coverage_matrix array The QA Manager view includes a populated coverage matrix for the test
Test Name: TestNG - QAM - DataProvider collapses
Feature: TestNG Analysis
User Role: QA Manager
Traceability: @SHIFT-20
Description: Verifies that a data-driven TestNG test is collapsed into a single test entry in the QA Manager view, with the coverage matrix reflecting all data rows using the correct schema.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system responds with visible documentation after processing the file
JSON output has no unresolved values All fields in the output are fully resolved with no placeholders or missing data
JSON has exactly 1 test The data-driven test is collapsed into a single entry rather than expanded per row
Every test has a non-empty test_name The collapsed test entry is identifiable by a name
Coverage matrix row count matches the examples Each data row from the DataProvider is represented as a row in the coverage matrix
Coverage matrix rows use the correct schema for generic The structure of each coverage matrix row conforms to the expected generic schema