diff --git a/.gitignore b/.gitignore index 1de5659..35bbef9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -target \ No newline at end of file +target +tarpaulin-report.html \ No newline at end of file diff --git a/README.md b/README.md index 7d65741..d94bcba 100644 --- a/README.md +++ b/README.md @@ -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.