cosmos-sdk/tests/systemtests
2025-05-13 21:38:33 +00:00
..
.gitignore test: add systemtests (#23686) 2025-02-14 17:27:03 -05:00
go.mod chore: upgrade to log/v1.6.0 everywhere (#24751) 2025-05-13 21:38:33 +00:00
go.sum chore: upgrade to log/v1.6.0 everywhere (#24751) 2025-05-13 21:38:33 +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 feat: verbose logging during upgrades (#24720) 2025-05-13 20:48:30 +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