The unit tests (ie. the go test s) can be run with
go test -race -timeout=5m ./....
To run a single package's tests, use go test -race -timeout=5m ./dash/quorum/....
The integration tests can be run with make test_integrations.
Running the integrations test will build a docker container with local version of Tenderdash and run the following tests in docker containers:
- go tests, with --race
- includes test coverage
- app tests
- kvstore app over socket
- persistence tests
- crash tendermint at each of many predefined points, restart, and ensure it syncs properly with the app
Fuzzing of various system inputs.
See ./fuzz/README.md for more details.