#testing #environments #go #cosmwasm #chain #cosmos-sdk #contracts

test-tube-inj

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

9 stable releases

new 2.0.2 Oct 16, 2024
2.0.1 Aug 2, 2024
1.1.5 Jun 18, 2024
1.1.4 May 2, 2024
1.1.0 May 24, 2023

#487 in Magic Beans

Download history 71/week @ 2024-06-26 105/week @ 2024-07-03 24/week @ 2024-07-10 78/week @ 2024-07-17 45/week @ 2024-07-24 259/week @ 2024-07-31 82/week @ 2024-08-07 32/week @ 2024-08-14 22/week @ 2024-08-21 93/week @ 2024-08-28 59/week @ 2024-09-04 69/week @ 2024-09-11 63/week @ 2024-09-18 71/week @ 2024-09-25 88/week @ 2024-10-02 72/week @ 2024-10-09

309 downloads per month
Used in 2 crates (via injective-test-tube)

MIT/Apache

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

~22–36MB
~650K SLoC