mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
generic test config
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user