README: testing subheader of build/install
[ci skip]
This commit is contained in:
parent
46c72ddbb4
commit
0d3b5c83fe
1 changed files with 18 additions and 18 deletions
36
README.md
36
README.md
|
@ -43,6 +43,24 @@ $ git clone github.com/chihaya/chihaya chihaya/src/github.com/chihaya/chihaya
|
|||
$ godep go install chihaya/src/github.com/chihaya/cmd/chihaya
|
||||
```
|
||||
|
||||
### Testing
|
||||
|
||||
Chihaya has end-to-end test coverage for announces in addition to unit tests for
|
||||
isolated components. To run the tests, use:
|
||||
|
||||
```sh
|
||||
$ cd $GOPATH/src/github.com/chihaya/chihaya
|
||||
$ godep go test -v ./...
|
||||
```
|
||||
|
||||
There is also a set of benchmarks for performance-critical sections of Chihaya.
|
||||
These can be run similarly:
|
||||
|
||||
```sh
|
||||
$ cd $GOPATH/src/github.com/chihaya/chihaya
|
||||
$ godep go test -v ./... -bench .
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Copy [`example_config.json`](https://github.com/chihaya/chihaya/blob/master/example_config.json)
|
||||
|
@ -72,21 +90,3 @@ The available keys and their default values are as follows:
|
|||
- `include_mem_stats: true`
|
||||
- `verbose_mem_stats: false`
|
||||
- `mem_stats_interval: "5s"`
|
||||
|
||||
## Testing
|
||||
|
||||
Chihaya has end-to-end test coverage for announces in addition to unit tests for
|
||||
isolated components. To run the tests, use:
|
||||
|
||||
```sh
|
||||
$ cd $GOPATH/src/github.com/chihaya/chihaya
|
||||
$ godep go test -v ./...
|
||||
```
|
||||
|
||||
There is also a set of benchmarks for performance-critical sections of Chihaya.
|
||||
These can be run similarly:
|
||||
|
||||
```sh
|
||||
$ cd $GOPATH/src/github.com/chihaya/chihaya
|
||||
$ godep go test -v ./... -bench .
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue