Results Download

Framework: BDD Generated: 2026-06-23 Model: claude-sonnet-4-6
Test Name: Markdown download contains rendered content
Feature: Download Analysis Results - Content Verification (Claude)
Traceability: @SHIFT-22
Description: Users can download their completed analysis as a properly formatted Markdown file.
This Test Verifies:
Verification StepWhat It Checks
A .md file is downloaded The download produces a file with the correct Markdown format
The downloaded file content contains '##' The Markdown file includes structured headings, confirming the analysis content was rendered correctly
Test Name: HTML download contains rendered content
Feature: Download Analysis Results - Content Verification (Claude)
Traceability: @SHIFT-22
Description: Users can download their completed analysis as a valid, fully-formed HTML file.
This Test Verifies:
Verification StepWhat It Checks
A .html file is downloaded The download produces a file with the correct HTML format
The downloaded file content contains '<html lang=' and '</html>' The HTML file has a proper opening and closing structure, confirming it is a complete, valid web page
Test Name: JSON download contains complete analysis payload
Feature: Download Analysis Results - Content Verification (Claude)
Traceability: @SHIFT-22
Description: Users can download their completed analysis as a structured JSON file that includes framework metadata and all analyzed test data.
This Test Verifies:
Verification StepWhat It Checks
A .json file is downloaded The download produces a file in JSON format
The JSON shiftdoc metadata has framework 'bdd' The file correctly identifies the analysis framework as BDD in its metadata
The JSON has 1 or more tests The downloaded file contains the actual test analysis content and is not empty
Test Name: JSON download contains add-on sections when add-ons were selected
Feature: Download Analysis Results - Content Verification (Claude)
Traceability: @SHIFT-23
Description: When a user runs an analysis with optional add-ons such as Gap Analysis, those add-on results are included in the downloaded JSON file.
This Test Verifies:
Verification StepWhat It Checks
A .json file is downloaded The download produces a file in JSON format
The JSON has top-level key 'gap_analysis' The Gap Analysis add-on results are present as a distinct section in the downloaded file, confirming add-on data is not lost during export