mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
* Switch to dep from glide for dependency management * Update CI dockerfile to use dep instead of glide * Wrong file extension * Run 'dep ensure' after copying code * Install glide to handle abci dependencies in testing * Use `dep ensure -vendor-only` to setup vendor directory before installing source code on ci
Tendermint Tests
The unit tests (ie. the go test s) can be run with make test.
The integration tests can be run wtih make test_integrations.
Running the integrations test will build a docker container with local version of tendermint and run the following tests in docker containers:
- go tests, with --race
- includes test coverage
- app tests
- dummy app over socket
- counter app over socket
- counter app over grpc
- persistence tests
- crash tendermint at each of many predefined points, restart, and ensure it syncs properly with the app
- p2p tests
- start a local dummy app testnet on a docker network (requires docker version 1.10+)
- send a tx on each node and ensure the state root is updated on all of them
- 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
If on a release-x.x.x branch, we also run
go testfor all our dependency libs (test/test_libs.sh)- network_testing - benchmark a mintnet based cloud deploy using netmon