cosmos-sdk/tests/systemtests
dependabot[bot] 4fd207c03f
build(deps): Bump go.uber.org/mock from 0.5.1 to 0.5.2 (#24600)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-04-29 13:40:01 +00:00
..
.gitignore test: add systemtests (#23686) 2025-02-14 17:27:03 -05:00
go.mod chore: deps bump pre 53 (#24584) 2025-04-28 22:59:08 +00:00
go.sum build(deps): Bump go.uber.org/mock from 0.5.1 to 0.5.2 (#24600) 2025-04-29 13:40:01 +00:00
main_test.go feat: backport unordered transactions (#23708) 2025-02-27 11:01:50 -08:00
Makefile feat: backport unordered transactions (#23708) 2025-02-27 11:01:50 -08:00
protocolpool_test.go fix(systemtests): avoid fund get removed with larger expiry for protocolpool (#24596) 2025-04-28 20:57:06 +00:00
README.md chore: prep systemstest (#24514) 2025-04-14 21:43:50 +00:00
staking_test.go feat: backport unordered transactions (#23708) 2025-02-27 11:01:50 -08:00
unordered_tx_test.go refactor(client): change flag for unordered tx timeouts (#24561) 2025-04-24 14:22:06 -04:00
upgrade_test.go test: example upgrade handler and systems test (#24182) 2025-03-29 00:46:08 +00:00

System tests

Go black box tests that setup and interact with a local blockchain. The system test framework works with the compiled binary of the chain artifact only. To get up to speed, checkout the getting started guide.

Beside the Go tests and testdata files, this directory can contain the following directories:

  • binaries - cache for binary
  • testnet - node files

Please make sure to not add or push them to git.

Execution

Build a new binary from current branch and copy it to the tests/systemtests/binaries folder by running system tests. In project root:

make test-system

Or via manual steps

make build
mkdir -p ./tests/systemtests/binaries
cp ./build/simd ./tests/systemtests/binaries/

Manual test run

go test -v -mod=readonly -failfast -tags='system_test' --run TestStakeUnstake    ./... --verbose