tendermint/test/README.md

22 lines
902 B
Markdown
Raw Normal View History

2016-08-06 20:31:06 -07:00
# Tendermint Tests
The unit tests (ie. the `go test` s) can be run with `make test`.
2018-04-23 01:39:01 -07:00
The integration tests can be run with `make test_integrations`.
2016-08-06 20:31:06 -07:00
2017-01-28 16:24:46 -08:00
Running the integrations test will build a docker container with local version of tendermint
2016-08-06 20:31:06 -07:00
and run the following tests in docker containers:
- go tests, with --race
2017-01-28 16:24:46 -08:00
- includes test coverage
2016-08-06 20:31:06 -07:00
- app tests
- kvstore app over socket
2016-08-06 20:31:06 -07:00
- counter app over socket
- counter app over grpc
2017-01-28 16:24:46 -08:00
- persistence tests
- crash tendermint at each of many predefined points, restart, and ensure it syncs properly with the app
2016-08-06 20:31:06 -07:00
- p2p tests
- start a local kvstore app testnet on a docker network (requires docker version 1.10+)
2016-08-06 20:31:06 -07:00
- send a tx on each node and ensure the state root is updated on all of them
2017-01-28 16:24:46 -08:00
- crash and restart nodes one at a time and ensure they can sync back up (via fastsync)
- crash and restart all nodes at once and ensure they can sync back up