disclaw/tasks/DIS-109.md
Nick Tabeling 722d85c2a5
Some checks failed
CI / build-and-test (ubuntu-latest) (pull_request) Has been cancelled
CI / build-and-test (windows-latest) (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
chore: update task board — Phase 0 and Phase 1 marked done
All DIS-001 through DIS-110 set to status:done with merge dates.
BOARD.md reorganized with Done sections per phase.
Phase 1.5 Refinement epic added as planning placeholder.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 10:42:16 +02:00

45 lines
1.4 KiB
Markdown

---
id: DIS-109
status: done
phase: 1
priority: p1
labels: [phase:1, type:chore, priority:p1]
branch: phase-1/vitest-setup
assignee: claude-agent
started: null
pr: null
merged: 2026-04-10
---
# DIS-109: `.env.example` + Vitest-Setup + `npm test`-Skript
## Ziel
Neues Repo-Clone kommt sofort zum Laufen: `.env.example` zeigt alle Pflichtfelder,
Vitest ist konfiguriert, `npm test` läuft ohne weitere Schritte.
## Kontext
`docs/development-plan.md` §2.8 (Test-Strategie), Phase 1 Task 9.
## Scope
- **In**: `.env.example` mit allen Feldern aus `src/config/loader.ts` (keine echten Werte) · `vitest.config.ts` mit `testEnvironment: "node"`, Coverage-Provider `v8`, Alias-Pfade · `package.json` `test`/`test:watch`/`test:coverage`-Scripts · `tests/` Verzeichnis-Struktur (`unit/`, `integration/`, `fixtures/`)
- **Out**: Browser-Tests, E2E-Tests
## Definition of Done
- [ ] `npm test` läuft grün auf frischem Clone (nach `npm ci`)
- [ ] `.env.example` deckt alle Pflichtfelder ab
- [ ] `vitest.config.ts` vorhanden und konsistent mit `tsconfig.json`
- [ ] Test-Verzeichnis-Struktur steht
## Dateien (erwartet)
- `.env.example`
- `vitest.config.ts`
- `package.json`
- `tests/unit/.gitkeep`
- `tests/integration/.gitkeep`
- `tests/fixtures/.gitkeep`
## Abhängigkeiten
Keine harten. Sollte früh in Phase 1 kommen, damit andere Tests darauf aufbauen können.
## Spec
`docs/backlog.md` #DIS-109