diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-23 22:25:30 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-24 15:21:32 -0700 |
commit | 9479b3389907f3844a13d5e6cf881e27901b5aab (patch) | |
tree | 3698b0296eb7f07662a55eb184b2ed533a49e8ca | |
parent | 32e69d59150a2badfd72c62753414cbb1eb37c73 (diff) | |
download | fatcat-9479b3389907f3844a13d5e6cf881e27901b5aab.tar.gz fatcat-9479b3389907f3844a13d5e6cf881e27901b5aab.zip |
how to run tests (single threaded)
-rw-r--r-- | rust/README.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/README.md b/rust/README.md index 618f6971..9242b599 100644 --- a/rust/README.md +++ b/rust/README.md @@ -15,6 +15,7 @@ blow the entire database away. Create a `.env` file with configuration: DATABASE_URL=postgres://fatcat:tactaf@localhost/fatcat_rs + TEST_DATABASE_URL=postgres://fatcat:tactaf@localhost/fatcat_rs_test Re-create database from scratch: @@ -24,6 +25,10 @@ Build and run: cargo run +Tests: + + cargo test -- --test-threads 1 + ### Special Tricks Regenerate API schemas: |