cosmos-sdk/tests/systemtests
dependabot[bot] 2e21b6493c
build(deps): Bump go.opentelemetry.io/contrib/otelconf from 0.18.0 to 0.19.0 (#25671)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@cosmoslabs.io>
2025-12-11 17:33:10 +00:00
..
.gitignore test: add systemtests (#23686) 2025-02-14 17:27:03 -05:00
go.mod build(deps): Bump go.opentelemetry.io/contrib/otelconf from 0.18.0 to 0.19.0 (#25671) 2025-12-11 17:33:10 +00:00
go.sum build(deps): Bump go.opentelemetry.io/contrib/otelconf from 0.18.0 to 0.19.0 (#25671) 2025-12-11 17:33:10 +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 test: perform upgrade test from v53 (#24749) 2025-05-16 17:50:29 +00:00
upgrade_test.go chore: fix TimeoutCommit confusion (#24853) 2025-06-09 15:53:34 +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