mirror of https://github.com/statping/statping
Updated Testing (markdown)
parent
b3fff337a3
commit
ae6cec6d1d
|
@ -20,7 +20,7 @@ docker run -it -d -p 5432:5432 \
|
||||||
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.
|
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 the normal test command: `go test -v`. You'll see a verbose output of each test. If all tests pass, make a push request! 💃
|
||||||
```go
|
```go
|
||||||
DB_DATABASE=root \
|
DB_DATABASE=root \
|
||||||
DB_USER=root \
|
DB_USER=root \
|
||||||
|
|
Loading…
Reference in New Issue