TableTower/CLAUDE.md

16 lines
1 KiB
Markdown
Raw Permalink Normal View History

# TableTarot (folder and repo are still named TableTower)
How to work on it: `docs/DESIGN.md` §5. Module map: `docs/ARCHITECTURE.md`.
## Test time budget: always follow
- Run tests only through `tools/run_tests.sh [filter]`. It stops every run at **15 seconds**.
- Only the user changes `BUDGET_SECS`. If the tests can't reasonably fit, ask them, with timings.
- Don't get around it: no looping over suites, no several filtered runs to cover a full run,
no background or repeated runs.
- While working, run the suites for the area you changed, by filter. Do one full run at the end.
- `NOT RUN` means not tested. Say which suites were not run; never report them as passing.
- A new test must fit. Prefer adding to an existing suite; a new app suite costs about half a second to start.
No real waiting: the runner uses simulated time (`--fixed-fps 60`).
- A suite that loads its own board calls `start_main(false)`: building the demo is slow.
- Suites extend `TestBase` (no UI) or, only if they need the app, `AppTestBase`.