diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-29 17:02:49 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-29 17:02:49 +0100 |
| commit | 3b50928cb083b104043ac65433ed090c87731eb7 (patch) | |
| tree | 1d65beaaa68188c521b0d7da3f78c847540e5c32 /docs/TESTING.md | |
| parent | v1.3.1: allow = to increase the bet (diff) | |
| download | zagan-bet-3b50928cb083b104043ac65433ed090c87731eb7.tar.gz zagan-bet-3b50928cb083b104043ac65433ed090c87731eb7.zip | |
v2.0.0: reset plays audit to a generic per-game schema
Diffstat (limited to 'docs/TESTING.md')
| -rw-r--r-- | docs/TESTING.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md index 2a3572d..4d46855 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md | |||
| @@ -23,6 +23,19 @@ shared global database. Each test owns its state. | |||
| 23 | `tests/tofu.rs` and `tests/server_setup.rs` shell out to `openssl`, so run them | 23 | `tests/tofu.rs` and `tests/server_setup.rs` shell out to `openssl`, so run them |
| 24 | on a machine where the `openssl` CLI is available. | 24 | on a machine where the `openssl` CLI is available. |
| 25 | 25 | ||
| 26 | ## Development resets | ||
| 27 | |||
| 28 | The server creates `server.db` in its working directory; the client creates | ||
| 29 | `client.db` for host trust and stored credentials. While the software is in | ||
| 30 | testing, delete both after a schema or trust change: | ||
| 31 | |||
| 32 | ```sh | ||
| 33 | rm -f server.db client.db | ||
| 34 | ``` | ||
| 35 | |||
| 36 | The audit schema is not auto-migrated from the pre-2.0 slots-only `plays` | ||
| 37 | table. Starting against an old database will fail until it is removed. | ||
| 38 | |||
| 26 | ## Manual TUI checklist | 39 | ## Manual TUI checklist |
| 27 | 40 | ||
| 28 | There is no CI. Run this on Linux and on a Windows VM before a release. | 41 | There is no CI. Run this on Linux and on a Windows VM before a release. |
