tools/run_tests.sh stops every run at 15 s and lists what was not run. Suites are nodes run by tests/run_suites.gd, several per Godot process; TestBase no longer compiles the app (AppTestBase does). Audit: fewer repeats and less setup; 51 suites in about 12 s (was 45 s). Fix a crash when a roll was still animating as its Main was freed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
1 KiB
Markdown
15 lines
1 KiB
Markdown
# 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`.
|