diff options
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. |
