test/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0

README

CometBFT 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 CometBFT and run the following tests in docker containers:

  • go tests, with --race
    • includes test coverage
  • app tests
    • kvstore app over socket
  • persistence tests
    • crash cometbft 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
pkg
pkg/grammar/clean-start/grammar-auto/lexer
Package lexer is generated by GoGLL.
Package lexer is generated by GoGLL.
pkg/grammar/clean-start/grammar-auto/parser
Package parser is generated by gogll.
Package parser is generated by gogll.
pkg/grammar/clean-start/grammar-auto/parser/bsr
Package bsr implements a Binary Subtree Representation set as defined in
Package bsr implements a Binary Subtree Representation set as defined in
pkg/grammar/clean-start/grammar-auto/parser/slot
Package slot is generated by gogll.
Package slot is generated by gogll.
pkg/grammar/clean-start/grammar-auto/parser/symbols
Package symbols is generated by gogll.
Package symbols is generated by gogll.
pkg/grammar/clean-start/grammar-auto/sppf
Package sppf implements a Shared Packed Parse Forest as defined in:
Package sppf implements a Shared Packed Parse Forest as defined in:
pkg/grammar/clean-start/grammar-auto/token
Package token is generated by GoGLL.
Package token is generated by GoGLL.
pkg/grammar/recovery/grammar-auto/lexer
Package lexer is generated by GoGLL.
Package lexer is generated by GoGLL.
pkg/grammar/recovery/grammar-auto/parser
Package parser is generated by gogll.
Package parser is generated by gogll.
pkg/grammar/recovery/grammar-auto/parser/bsr
Package bsr implements a Binary Subtree Representation set as defined in
Package bsr implements a Binary Subtree Representation set as defined in
pkg/grammar/recovery/grammar-auto/parser/slot
Package slot is generated by gogll.
Package slot is generated by gogll.
pkg/grammar/recovery/grammar-auto/parser/symbols
Package symbols is generated by gogll.
Package symbols is generated by gogll.
pkg/grammar/recovery/grammar-auto/sppf
Package sppf implements a Shared Packed Parse Forest as defined in:
Package sppf implements a Shared Packed Parse Forest as defined in:
pkg/grammar/recovery/grammar-auto/token
Package token is generated by GoGLL.
Package token is generated by GoGLL.
fuzz
loadtime

Jump to

Keyboard shortcuts

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