Files

3.5 KiB

phase, slug, status, nyquist_compliant, wave_0_complete, created
phase slug status nyquist_compliant wave_0_complete created
3 wizard-ui draft false false 2026-03-26

Phase 3 — Validation Strategy

Per-phase validation contract for feedback sampling during execution.


Test Infrastructure

Property Value
Framework Vitest ^4.1.1
Config file none — Wave 0 adds test: { environment: 'jsdom', passWithNoTests: true } to vite.config.ts
Quick run command npx vitest run --reporter=verbose
Full suite command npx vitest run
Estimated runtime ~10 seconds

Sampling Rate

  • After every task commit: Run npx vitest run --reporter=verbose
  • After every plan wave: Run npx vitest run
  • Before /gsd:verify-work: Full suite must be green
  • Max feedback latency: 15 seconds

Per-Task Verification Map

Task ID Plan Wave Requirement Test Type Automated Command File Exists Status
3-W0-01 01 0 WIZD-01,02,03,04 infra npx vitest run --reporter=verbose W0 pending
3-01-01 01 1 WIZD-01 unit npx vitest run src/components/wizard/BackendSelectionStep.test.tsx W0 pending
3-01-02 01 1 WIZD-04 unit npx vitest run src/components/wizard/BackendSelectionStep.test.tsx W0 pending
3-02-01 02 1 BACK-01 unit npx vitest run src/components/wizard/RemoteConfigStep.test.tsx W0 pending
3-02-02 02 1 BACK-02 unit npx vitest run src/components/wizard/RemoteConfigStep.test.tsx W0 pending
3-02-03 02 1 BACK-03 unit npx vitest run src/components/wizard/RemoteConfigStep.test.tsx W0 pending
3-03-01 03 2 WIZD-02 unit npx vitest run src/App.test.tsx W0 pending
3-03-02 03 2 WIZD-03 unit npx vitest run src/components/wizard/StepIndicator.test.tsx W0 pending

Status: pending · green · red · ⚠️ flaky


Wave 0 Requirements

  • vite.config.ts — add test: { environment: 'jsdom', passWithNoTests: true } (required for all React component tests)
  • src/App.test.tsx — stubs for WIZD-02: step routing by currentStep
  • src/components/wizard/BackendSelectionStep.test.tsx — stubs for WIZD-01, WIZD-04
  • src/components/wizard/RemoteConfigStep.test.tsx — stubs for BACK-01, BACK-02, BACK-03
  • src/components/wizard/StepIndicator.test.tsx — stubs for WIZD-03

Manual-Only Verifications

Behavior Requirement Why Manual Test Instructions
Full wizard flow end-to-end (select → configure → deploy options) WIZD-02 Integration across step transitions Open app, select Azure Blob, fill config, click Next through all steps, click Back, verify values preserved
Azure auth toggle field preservation BACK-01 Requires visual + state verification Select Azure, enter SAS URL, toggle to access key, enter key, navigate Back then Next, verify both values in form

Validation Sign-Off

  • All tasks have <automated> verify or Wave 0 dependencies
  • Sampling continuity: no 3 consecutive tasks without automated verify
  • Wave 0 covers all MISSING references
  • No watch-mode flags
  • Feedback latency < 15s
  • nyquist_compliant: true set in frontmatter

Approval: pending