test/

directory
v0.34.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: Apache-2.0

README

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

Fuzzing

Fuzzing of various system inputs.

See ./fuzz/README.md for more details.

Directories

Path Synopsis
e2e
app
nolint: gosec nolint: gosec
nolint: gosec nolint: gosec
generator
nolint: gosec
nolint: gosec
node
nolint: goconst
nolint: goconst
pkg
nolint: gosec
nolint: gosec
runner
nolint: gosec nolint: gosec
nolint: gosec nolint: gosec
fuzz
p2p/addrbook
nolint: gosec
nolint: gosec
p2p/addrbook/init-corpus
nolint: gosec
nolint: gosec
p2p/pex/init-corpus
nolint: gosec
nolint: gosec
nolint: gosec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL