Analysis Swift

Framework: BDD Generated: 2026-06-24 Model: claude-sonnet-4-6
Test Name: Swift - PO - single test, core output structure
Feature: Swift Analysis
User Role: Product Owner
Traceability: @SHIFT-17
Description: Verifies that a Product Owner uploading a single Swift test file receives properly structured documentation output with no missing values.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The analysis produces visible output after processing the Swift file
JSON output has no unresolved values All fields in the downloaded output are fully populated with no placeholders or blanks
JSON framework is 'swift' The output correctly identifies the test framework as Swift
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 carries a meaningful name in the output
Test Name: Swift - PO - struct+for data-driven expands one test per row
Feature: Swift Analysis
User Role: Product Owner
Traceability: @SHIFT-19
Description: Verifies that a Product Owner uploading a data-driven Swift test file sees each data row expanded into its own individual test case in the output.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The analysis produces visible output after processing the data-driven Swift file
JSON output has no unresolved values All fields in the downloaded output are fully populated with no placeholders or blanks
JSON framework is 'swift' The output correctly identifies the test framework as Swift
JSON has 3 or more tests Data-driven rows are each expanded into separate documented test cases, producing at least 3 entries
Every test has a non-empty test_name Each expanded test case carries a meaningful name in the output
Test Name: Swift - QAM - single test, coverage matrix populated
Feature: Swift Analysis
User Role: QA Manager
Traceability: @SHIFT-18
Description: Verifies that a QA Manager uploading a single Swift test file receives output that includes a populated coverage matrix alongside the core test documentation.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The analysis produces visible output after processing the Swift file
JSON output has no unresolved values All fields in the downloaded output are fully populated with no placeholders or blanks
JSON framework is 'swift' The output correctly identifies the test framework as Swift
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 carries a meaningful name in the output
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: Swift - QAM - data-driven collapses
Feature: Swift Analysis
User Role: QA Manager
Traceability: @SHIFT-20
Description: Verifies that a QA Manager uploading a data-driven Swift test file sees all data rows collapsed into a single test case whose coverage matrix rows match the number of data examples.
This Test Verifies:
Verification StepWhat It Checks
Documentation appears in output panel The analysis produces visible output after processing the data-driven Swift file
JSON output has no unresolved values All fields in the downloaded output are fully populated with no placeholders or blanks
JSON framework is 'swift' The output correctly identifies the test framework as Swift
JSON has exactly 1 test Data-driven rows are collapsed into a single documented test case for the QA Manager view
Every test has a non-empty test_name The collapsed test case carries a meaningful name in the output
Coverage matrix row count matches the examples The number of rows in the coverage matrix equals the number of data-driven input rows from the Swift file
Coverage matrix rows use the correct schema for 'swift' Each coverage matrix row conforms to the expected Swift-specific field structure