tendermint/test
Ethan Buchman 2d7ffdd72b Merge remote-tracking branch 'tmlibs/master' into bucky/merge-tmlibs 2018-07-01 22:32:33 -04:00
..
app Revert "delete everything" (includes everything non-go-crypto) 2018-06-20 17:35:30 -07:00
docker Revert "delete everything" (includes everything non-go-crypto) 2018-06-20 17:35:30 -07:00
p2p fix p2p test in circleci 2018-06-20 20:59:33 -07:00
persist Revert "delete everything" (includes everything non-go-crypto) 2018-06-20 17:35:30 -07:00
README.md Revert "delete everything" (includes everything non-go-crypto) 2018-06-20 17:35:30 -07:00
assert.go First commit 2015-10-21 12:15:19 -07:00
mutate.go Fix lint errors (#190) 2018-04-03 12:23:28 +02:00
test_cover.sh ci: Setup abci in dependency step 2018-06-22 19:29:44 +02:00

README.md

Tendermint Tests

The unit tests (ie. the go test s) can be run with make test. The integration tests can be run with 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
    • kvstore 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 kvstore 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