#cosmos #go #cosmos-sdk #environments #testing #chain #integration

test-tube

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

18 unstable releases (8 breaking)

new 0.9.0 Dec 11, 2024
0.8.0 Oct 23, 2024
0.7.0 May 17, 2024
0.6.0-alpha.1 Mar 1, 2024
0.1.0 Dec 21, 2022

#7 in #cosmos-sdk

Download history 538/week @ 2024-08-19 464/week @ 2024-08-26 255/week @ 2024-09-02 183/week @ 2024-09-09 214/week @ 2024-09-16 240/week @ 2024-09-23 171/week @ 2024-09-30 199/week @ 2024-10-07 310/week @ 2024-10-14 588/week @ 2024-10-21 677/week @ 2024-10-28 377/week @ 2024-11-04 295/week @ 2024-11-11 339/week @ 2024-11-18 292/week @ 2024-11-25 145/week @ 2024-12-02

1,072 downloads per month
Used in 18 crates (2 directly)

MIT/Apache

58KB
1.5K SLoC

test-tube

test-tube on crates.io Docs

test-tube is a generic library 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.

Dependencies

~24–39MB
~675K SLoC