diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-06-11 12:39:28 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-06-11 12:39:28 -0400 |
| commit | 6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 (patch) | |
| tree | 79831028416b0d6934f32961a3fc77d8b004369e /docs/testing.md | |
| parent | 1f009e06fd6db82a91536eec88ef3232267385bf (diff) | |
tools/reformat
Diffstat (limited to 'docs/testing.md')
| -rw-r--r-- | docs/testing.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/testing.md b/docs/testing.md index c6f3654..8e87568 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -4,11 +4,11 @@ Run `cargo test`. Most of the tests for this project use an integration-based testing approach: -* Spin up a scratch copy of the application, using an in-memory database; -* Perform operations against that database using the `app` abstraction to set up the scenario; -* Interact with route endpoint functions directly to perform the test; -* Inspect both the return values from the endpoint function to validate the results; and -* Perform additional operations against the scratch database using the `app` absraction to validate behaviour. +- Spin up a scratch copy of the application, using an in-memory database; +- Perform operations against that database using the `app` abstraction to set up the scenario; +- Interact with route endpoint functions directly to perform the test; +- Inspect both the return values from the endpoint function to validate the results; and +- Perform additional operations against the scratch database using the `app` absraction to validate behaviour. Tests can vary around this theme. |
