generic test config

This commit is contained in:
Jimmy Zelinskie
2013-08-29 00:47:37 -04:00
parent 6e7d6f1a31
commit a2527aa4e2
4 changed files with 14 additions and 20 deletions

View File

@@ -30,6 +30,14 @@ Make sure you have your $GOROOT and $GOPATH set up correctly and have your $GOBI
$ go install github.com/pushrax/chihaya
```
## Testing
```sh
$ export TESTCONFIGPATH=$GOPATH/src/chihaya/config/example.json
$ go get github.com/pushrax/chihaya
$ go test -v ./...
```
## Configuring
Configuration is done in a JSON formatted file specified with the `-config`