Automated, parallel testing of real user behaviors against terrarium and bombay.
npm run upload:terrarium
- Uploads the wasm files to terrarium
- Instantiates the contracts before EACH test for a clean fixture
- Runs the tests in parralel
Allows it.only()
and describe.only()
.
npm run test:terrarium:disputeResolution
- Instantiates the contracts before the test for a clean fixture
- Runs the test
This is extremely fast, especially useful with it.only()
for queries.
DIRTY_RUN=true npm run test:terrarium:disputeResolution
- Reuses the last cached contracts for a dirty fixture
- Runs the test
Test a live deploy, make liberal use of describe.only()
and it.only()
. Great for testing queries against live data.
FACTORY_ADDR="terra1um2pufv3zkfzqmeksp3xekecwnu6hrl66g3ukq" npm run test:terrarium:disputeResolution
- Fetches the
factoryCfg
of the live deployed instance - Runs the test