Test Cases
Not documented
This project has neither test code nor a test runner. What follows records the current state; it is not an agreed test strategy.
Test Strategy
| Test Type | Target | Tool |
|---|---|---|
| Unit tests | Not documented | Not introduced |
| Integration tests | Not documented | Not introduced |
| E2E tests | Not documented | Not introduced |
Coverage target: Not documented
How to Run Tests
nodejs-fastapi-hello-world-app/.husky/pre-commit mentions npm test, but it is a dead file that is never used. The hook that actually runs is .husky/pre-commit at the repository root, and it only runs format:check and lint.
Today, the only checks that run automatically on commit are:
Test Case List
Not documented
| ID | Scenario | Expected Result | Priority |
|---|---|---|---|
| - | Not documented | Not documented | - |
When tests are introduced, these are the areas worth covering first:
- The identifier allowlist in
backend/sql/utils.py(an invalid identifier must raiseValueError) - The environment variable precedence in
backend/settings.py(.env> yaml > system environment) - Question grouping in
backend/sql/table_data.py(rows must group byquestion) - The free-text aggregation logic in
components/FreeTextAnalysis/freeTextUtils.ts - Exception mapping (
ValueError โ 400/RuntimeError โ 503)