#cosmos #go #environments #testing #chain #integration #tube

test-tube

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

16 releases (6 breaking)

0.7.0 May 17, 2024
0.6.0-alpha.1 Mar 1, 2024
0.3.0 Dec 15, 2023
0.2.0 Oct 26, 2023
0.1.0 Dec 21, 2022

#1720 in Magic Beans

Download history 868/week @ 2024-02-06 1179/week @ 2024-02-13 729/week @ 2024-02-20 706/week @ 2024-02-27 653/week @ 2024-03-05 1019/week @ 2024-03-12 639/week @ 2024-03-19 556/week @ 2024-03-26 1151/week @ 2024-04-02 691/week @ 2024-04-09 1098/week @ 2024-04-16 1330/week @ 2024-04-23 1001/week @ 2024-04-30 890/week @ 2024-05-07 1251/week @ 2024-05-14 520/week @ 2024-05-21

3,929 downloads per month
Used in 17 crates (2 directly)

MIT/Apache

56KB
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

~18–31MB
~541K SLoC