chore: add notes for coverage tests

This commit is contained in:
Paul Makles
2022-10-23 16:09:00 +01:00
parent c677d48583
commit 85f8eadc4e
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -1 +1,2 @@
target
target
tarpaulin-report.html
+7
View File
@@ -107,6 +107,13 @@ cargo test --features test
cargo nextest run --features test
```
Run a coverage test:
```bash
# Run tarpaulin
cargo tarpaulin --features test --out html
```
## Database Migrations
Migrating the database is easy, you just have to orchestrate it yourself, ideally you have your own versioned migration system which you can slot changes into.