From 26669cd01d3bc540d692d5570591ce01d999be4f Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Sun, 22 Jul 2018 00:22:57 -0700 Subject: [PATCH] Updated Testing (markdown) --- Testing.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Testing.md b/Testing.md index bd1be7c..9dd2fdd 100644 --- a/Testing.md +++ b/Testing.md @@ -20,7 +20,11 @@ docker run -it -d -p 5432:5432 \ Once you have MySQL and Postgres running, you can begin the testing. SQLite database will create a `statup.db` file and will delete after testing. ## Run Tests - +Insert the database environment variables to auto connect the the databases and run `go test -v`. You'll see a verbose output of each test. If all tests pass, make a push request! 💃 ```go -go test -v +DB_DATABASE=root \ + DB_USER=root \ + DB_PASS=password123 \ + DB_HOST=localhost \ + go test -v ``` \ No newline at end of file