cosmos-sdk/tests/systemtests
mergify[bot] 908df9d4e2
feat: set signer extraction adapter (backport #25008) (#25012)
Co-authored-by: Vlad J <vladjdk@gmail.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-07-25 18:28:46 +00:00
..
.gitignore test: add systemtests (#23686) 2025-02-14 17:27:03 -05:00
go.mod feat: set signer extraction adapter (backport #25008) (#25012) 2025-07-25 18:28:46 +00:00
go.sum feat: set signer extraction adapter (backport #25008) (#25012) 2025-07-25 18:28:46 +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 chore: uncomment todo in upgrade systemtest (backport #24724) (#24735) 2025-05-12 11:56:54 -04: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