Analysis Bdd

Framework: BDD Generated: 2026-06-24 Model: claude-sonnet-4-6
Test Name: BDD - PO - core output structure
Feature: BDD Analysis
User Role: Product Owner
Traceability: @SHIFT-17
Description: Verifies that uploading a BDD feature file and generating documentation produces a well-formed JSON output containing named tests, descriptions, and coverage details.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The user sees generated documentation after submitting a BDD file
JSON output has no unresolved values No placeholder or missing values exist in the downloaded output
JSON has 1 or more tests At least one test entry is produced from the uploaded file
Every test has a non-empty test_name Each test in the output is identifiable by name
First test has a non-empty description The output includes a human-readable description for the first test
First test has a non-empty test_coverage array Coverage details are populated for the first test
Test Name: BDD - PO - data-driven produces multiple tests
Feature: BDD Analysis
User Role: Product Owner
Traceability: @SHIFT-19
Description: Verifies that uploading a data-driven BDD feature file generates a separate test entry for each data row, resulting in multiple documented tests.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The user sees generated documentation after submitting a data-driven BDD file
JSON output has no unresolved values No placeholder or missing values exist in the downloaded output
JSON has 3 or more tests Multiple test entries are produced, reflecting the parameterised nature of the file
Every test has a non-empty test_name Each generated test entry is identifiable by name
Test Name: Panel title is "Documentation" when no add-ons are selected
Feature: BDD Analysis
User Role: Product Owner
Traceability: @SHIFT-21
Description: Verifies that the output panel displays the title 'Documentation' rather than an extended title when no additional analysis options are selected.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The user sees output after submitting a BDD file with no add-ons
Panel title is not 'Documentation and Analysis' The panel heading accurately reflects that only documentation — not analysis — was requested
Test Name: BDD - QAM - coverage matrix populated
Feature: BDD Analysis
User Role: QA Manager
Traceability: @SHIFT-18
Description: Verifies that a QA Manager uploading a BDD feature file receives documentation that includes a correctly structured coverage matrix for each test.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The user sees generated documentation after submitting the file
Filename appears in output The output references the uploaded file by name, confirming the correct file was processed
JSON output has no unresolved values No placeholder or missing values exist in the downloaded output
First test has a non-empty test_coverage_matrix array A coverage matrix is present and populated for the first test
Coverage matrix rows use the correct schema for BDD Each row in the matrix conforms to the expected structure for BDD-format files