mirror of https://github.com/statping/statping
Updated Testing (markdown)
parent
26669cd01d
commit
b3fff337a3
|
@ -17,7 +17,7 @@ docker run -it -d -p 5432:5432 \
|
||||||
-env POSTGRES_DB=root postgres
|
-env POSTGRES_DB=root postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
Once you have MySQL and Postgres running, you can begin the testing. SQLite database will automatically create a `statup.db` file and will delete after testing.
|
||||||
|
|
||||||
## Run Tests
|
## 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! 💃
|
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! 💃
|
||||||
|
|
Loading…
Reference in New Issue