#environments #go #testing #cosmos #tube #chain #default

test-tube-x

library for building integration testing environments for cosmos-sdk chains in Rust

5 releases (3 stable)

1.1.1 Dec 1, 2023
1.0.0 Nov 9, 2023
1.0.0-beta1 Nov 8, 2023
0.2.0 Oct 5, 2023

#8 in #tube


Used in persistence-test-tube

MIT/Apache

57KB
1.5K SLoC

Test Tube X

test-tube is a generic library by Osmosis for building testing environments for CosmWasm smart contracts. It allows you to test your smart contract logic against the actual Cosmos SDK chain's logic, which is written in Go, using Rust. This eliminates the need to write Go code or learn Go in order to test your smart contracts against the Cosmos SDK.

test-tube-x is a fork of test-tube by Persistence made using newer versions of Cosmos SDK (v47). It can be used by anyone to create a testing environments by anyone using the following defaults:

  • Cosmos SDK v47
  • Persistence SDK v2
  • Cosmwasm v1.4

test-tube-x is currently used to build persistence-test-tube.

Dependencies

~18–32MB
~548K SLoC