|
Some checks failed
Tests / Code Coverage / test-x-tx (push) Has been cancelled
Tests / Code Coverage / test-tools-benchmark (push) Has been cancelled
Tests / Code Coverage / test-clientv2 (push) Has been cancelled
Tests / Code Coverage / test-core (push) Has been cancelled
Tests / Code Coverage / test-depinject (push) Has been cancelled
Tests / Code Coverage / test-errors (push) Has been cancelled
Tests / Code Coverage / test-math (push) Has been cancelled
Tests / Code Coverage / test-schema (push) Has been cancelled
Tests / Code Coverage / test-collections (push) Has been cancelled
Tests / Code Coverage / test-cosmovisor (push) Has been cancelled
Tests / Code Coverage / test-confix (push) Has been cancelled
Build SimApp / build (amd64) (push) Has been cancelled
Build SimApp / build (arm64) (push) Has been cancelled
Run Gosec / Gosec (push) Has been cancelled
Lint / golangci-lint (push) Has been cancelled
Checks dependencies and mocks generation / Check go mod tidy (push) Has been cancelled
Checks dependencies and mocks generation / Check up to date mocks (push) Has been cancelled
System Tests / setup (push) Has been cancelled
Tests / Code Coverage / test-store (push) Has been cancelled
Tests / Code Coverage / split-test-files (push) Has been cancelled
Tests / Code Coverage / test-log (push) Has been cancelled
Tests / Code Coverage / test-integration (push) Has been cancelled
Tests / Code Coverage / test-e2e (push) Has been cancelled
Tests / Code Coverage / test-sim-nondeterminism (push) Has been cancelled
System Tests / test-system (push) Has been cancelled
System Tests / test-system-legacy (push) Has been cancelled
Tests / Code Coverage / tests (00) (push) Has been cancelled
Tests / Code Coverage / tests (01) (push) Has been cancelled
Tests / Code Coverage / tests (02) (push) Has been cancelled
Tests / Code Coverage / tests (03) (push) Has been cancelled
Tests / Code Coverage / repo-analysis (push) Has been cancelled
Sims release/0.47.x / install-runsim (push) Has been skipped
Sims release/0.47.x / test-sim-import-export (push) Has been skipped
Sims release/0.47.x / test-sim-after-import (push) Has been skipped
Sims release/0.47.x / test-sim-multi-seed-short (push) Has been skipped
Sims release/0.47.x / sims-notify-failure (push) Has been skipped
Sims / build (push) Has been cancelled
Sims / test-sim-import-export (push) Has been cancelled
Sims / test-sim-after-import (push) Has been cancelled
Sims / test-sim-deterministic (push) Has been cancelled
Sims / test-sim-multi-seed-short (push) Has been cancelled
Remove GitHub Action Old Artifacts / remove-old-artifacts (push) Has been cancelled
Sims release/0.50.x / build (push) Has been cancelled
Sims release/0.50.x / install-runsim (push) Has been cancelled
Sims release/0.50.x / test-sim-import-export (push) Has been cancelled
Sims release/0.50.x / test-sim-after-import (push) Has been cancelled
Sims release/0.50.x / test-sim-multi-seed-short (push) Has been cancelled
Sims release/0.50.x / sims-notify-failure (push) Has been cancelled
Sims release/0.53.x / build (push) Has been cancelled
Sims release/0.53.x / install-runsim (push) Has been cancelled
Sims release/0.53.x / test-sim-import-export (push) Has been cancelled
Sims release/0.53.x / test-sim-after-import (push) Has been cancelled
Sims release/0.53.x / test-sim-multi-seed-short (push) Has been cancelled
Sims Nightly (Long) / test-sim-multi-seed-long (push) Has been cancelled
Sims Nightly (Long) / test-sim-import-export (push) Has been cancelled
Sims release/0.53.x / sims-notify-failure (push) Has been cancelled
Sims Nightly (Long) / sims-notify-failure (push) Has been cancelled
Sims release/0.47.x / build (push) Failing after 23s
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| main_test.go | ||
| Makefile | ||
| protocolpool_test.go | ||
| README.md | ||
| staking_test.go | ||
| unordered_tx_test.go | ||
| upgrade_test.go | ||
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 binarytestnet- 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