Add note about running a redis server for the tests
[ci skip]
This commit is contained in:
parent
385bd55f91
commit
ae9eaf4351
1 changed files with 5 additions and 3 deletions
|
@ -42,10 +42,12 @@ flag. An example configuration file can be found
|
|||
|
||||
### Running the tests
|
||||
|
||||
The tests require a running redis server to function correctly, and a config to use for the tests.
|
||||
The `$TESTCONFIGPATH` environment variable is required for the tests to function:
|
||||
|
||||
```sh
|
||||
$ export TESTCONFIGPATH=$GOPATH/src/chihaya/config/example.json
|
||||
$ go get github.com/pushrax/chihaya
|
||||
$ go test -v ./...
|
||||
$ cd $GOPATH/src/github.com/pushrax/chihaya
|
||||
$ TESTCONFIGPATH=$GOPATH/src/github.com/pushrax/chihaya/config/example.json go test -v ./...
|
||||
```
|
||||
|
||||
## Drivers
|
||||
|
|
Loading…
Reference in a new issue