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

test-tube-inj

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

13 stable releases

new 2.0.6 Feb 21, 2025
2.0.4 Jan 15, 2025
2.0.2 Oct 16, 2024
1.1.5 Jun 18, 2024
1.1.0 May 24, 2023

#34 in Magic Beans

Download history 45/week @ 2024-10-29 52/week @ 2024-11-05 14/week @ 2024-11-12 117/week @ 2024-11-19 45/week @ 2024-11-26 51/week @ 2024-12-03 83/week @ 2024-12-10 45/week @ 2024-12-17 1/week @ 2024-12-24 3/week @ 2025-01-07 267/week @ 2025-01-14 28/week @ 2025-01-21 36/week @ 2025-01-28 72/week @ 2025-02-04 85/week @ 2025-02-11

230 downloads per month
Used in 2 crates

MIT/Apache

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

~28–43MB
~710K SLoC