Junit

Framework: BDD Generated: 2026-06-23 Model: claude-sonnet-4-6
Test Name: JUnit - PO - single test, core output structure
Feature: JUnit Analysis
User Role: Product Owner
Traceability: @SHIFT-17
Description: Verifies that a Product Owner uploading a single JUnit test file receives a valid, fully-resolved JSON output containing at least one named test case.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system produces visible output after analyzing a JUnit file
JSON output has no unresolved values All fields in the downloaded output are populated — no placeholders or missing data remain
JSON has 1 or more tests At least one test case is detected and documented from the uploaded file
Every test has a non-empty test_name Each documented test case is identifiable by name
Test Name: JUnit - PO - Parameterized expands one test per row
Feature: JUnit Analysis
User Role: Product Owner
Traceability: @SHIFT-19
Description: Verifies that a Product Owner uploading a data-driven JUnit test file sees each parameter row expanded into its own separate test case in the output.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system produces visible output after analyzing a parameterized JUnit file
JSON output has no unresolved values All fields in the downloaded output are fully populated with no gaps
JSON has 3 or more tests Each data row from the parameterized test is treated as a distinct test case, resulting in multiple entries
Every test has a non-empty test_name Each expanded test case is individually named
Test Name: JUnit - QAM - single test, coverage matrix populated
Feature: JUnit Analysis
User Role: QA Manager
Traceability: @SHIFT-18
Description: Verifies that a QA Manager uploading a single JUnit test file receives output that includes a populated test coverage matrix alongside standard test documentation.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system produces visible output after analyzing a JUnit file
JSON output has no unresolved values All fields in the downloaded output are fully populated with no gaps
JSON has 1 or more tests At least one test case is detected and documented from the uploaded file
Every test has a non-empty test_name Each documented test case 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 for the test case
Test Name: JUnit - QAM - Parameterized collapses
Feature: JUnit Analysis
User Role: QA Manager
Traceability: @SHIFT-20
Description: Verifies that a QA Manager uploading a data-driven JUnit test file sees the parameterized test collapsed into a single test case whose coverage matrix rows represent each data example using the correct structure.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The system produces visible output after analyzing a parameterized JUnit file
JSON output has no unresolved values All fields in the downloaded output are fully populated with no gaps
JSON has exactly 1 test All parameter rows are collapsed into a single test case entry rather than expanded individually
Every test has a non-empty test_name The collapsed test case is identifiable by name
Coverage matrix row count matches the examples Each data row from the parameterized test is represented as a row in the coverage matrix
Coverage matrix rows use the correct schema for generic Each coverage matrix row conforms to the expected generic format with all required fields present