Testng

Framework: BDD Generated: 2026-06-23 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 produces valid, fully-resolved documentation output with at least one named test entry.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in the output panel The system returns visible output after processing the file
JSON output has no unresolved values All fields in the output are populated — no placeholders or nulls remain
JSON has 1 or more tests At least one test entry is generated from the uploaded file
Every test has a non-empty test_name Each test entry is identifiable by 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 the output panel The system returns visible output after processing the data-driven file
JSON output has no unresolved values All fields in the expanded output are fully populated
JSON has 3 or more tests Each DataProvider row produces its own distinct test entry
Every test has a non-empty test_name Each expanded test entry is individually named
Test Name: TestNG - QAM - single test, coverage matrix populated
Feature: TestNG Analysis
User Role: QA Manager
Traceability: @SHIFT-18
Description: Verifies that a single TestNG test file processed for a QA Manager produces output that includes a populated test coverage matrix.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in the output panel The system returns visible output after processing the file
JSON output has no unresolved values All fields in the output are fully populated
JSON has 1 or more tests At least one test entry is generated
Every test has a non-empty test_name Each test entry is identifiable by name
First test has a non-empty test_coverage_matrix array The QA Manager view includes a coverage matrix with at least one entry
Test Name: TestNG - QAM - DataProvider collapses
Feature: TestNG Analysis
User Role: QA Manager
Traceability: @SHIFT-20
Description: Verifies that a data-driven TestNG test processed for a QA Manager is collapsed into a single test entry, with the coverage matrix rows reflecting each data example using the correct schema.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in the output panel The system returns visible output after processing the data-driven file
JSON output has no unresolved values All fields in the output are fully populated
JSON has exactly 1 test Data-driven tests are collapsed into a single entry rather than expanded for this role
Every test has a non-empty test_name The collapsed test entry is identifiable by name
Coverage matrix row count matches the examples The number of rows in the coverage matrix corresponds to the number of DataProvider rows
Coverage matrix rows use the correct schema for 'generic' Each row in the matrix conforms to the expected generic schema structure