Skip to content

TASK-003E: Tests and Sample Recipe Assets

AI Execution Profile

  • Model class: Balanced
  • Reasoning effort: Medium

Scope

  • add automated tests for catalog scanning, validation, refresh, and load behavior
  • cover missing folder and invalid file cases
  • add sample recipe assets only if they help verify the slice cleanly
  • verify startup behavior without requiring full UI launch

Copy/Paste Prompt

text
Implement only TASK-003E: Tests and Sample Recipe Assets.

Read first:
- docs/specs/SLICE-003-json-recipe-file-management.md
- docs/tasks/slice-003/TASK-003E-tests-and-sample-recipe-assets.md

Goal:
- Verify the slice with automated tests and any minimal sample recipe assets needed for confidence.

Scope:
- Add tests for startup scan with valid files.
- Add tests for missing folder behavior.
- Add tests for invalid JSON or validation-failing files.
- Add tests for refresh and successful load into canonical app state.

Do not:
- Add large fixture sets
- Add UI-only screenshot tests

Important:
- Focus on application and infrastructure behavior
- Keep test fixtures small and readable

Docs-first project memory for AI-assisted implementation.