From 9479b3389907f3844a13d5e6cf881e27901b5aab Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 23 May 2018 22:25:30 -0700 Subject: how to run tests (single threaded) --- rust/README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rust/README.md') 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: -- cgit v1.2.3