62 releases (4 stable)

new 2.0.1 Apr 22, 2024
2.0.0 Mar 21, 2024
1.1.0 Apr 23, 2024
1.0.0 Mar 21, 2024
0.4.0 Dec 22, 2020

#1427 in Magic Beans

Download history 3417/week @ 2024-01-01 5165/week @ 2024-01-08 4284/week @ 2024-01-15 3848/week @ 2024-01-22 3900/week @ 2024-01-29 5974/week @ 2024-02-05 7478/week @ 2024-02-12 6581/week @ 2024-02-19 6907/week @ 2024-02-26 5823/week @ 2024-03-04 8320/week @ 2024-03-11 6973/week @ 2024-03-18 4901/week @ 2024-03-25 4917/week @ 2024-04-01 3972/week @ 2024-04-08 3851/week @ 2024-04-15

17,987 downloads per month
Used in 156 crates (144 directly)

Apache-2.0

430KB
10K SLoC

CosmWasm MultiTest

cw-multi-test on crates.io docs codecov license

Testing tools for multi-contract interactions

Introduction

CosmWasm MultiTest is a suite of testing tools designed for facilitating multi-contract interactions within the CosmWasm ecosystem. Its primary focus is on providing developers with a robust framework for simulating complex contract interactions and bank operations. Currently, CosmWasm MultiTest is in the alpha stage, and primarily used internally for testing cw-plus contracts.

Current Status

Internal Use and Refinement

Internally, the CosmWasm MultiTest framework is an essential tool for the testing of cw-plus contracts. Its development is focused on ensuring the reliability and security of these contracts. The team is actively working on refactoring and enhancing CosmWasm MultiTest to provide a more stable and feature-rich version for broader community use in the future.

Framework Capabilities

CosmWasm MultiTest enables comprehensive unit testing, including scenarios where contracts call other contracts and interact with the bank module. Its current implementation effectively handles these interactions, providing a realistic testing environment for contract developers. The team is committed to extending CosmWasm MultiTest's capabilities, making it a versatile tool for various blockchain interaction tests.

Conclusion

CosmWasm MultiTest stands as a vital development tool in the CosmWasm ecosystem, especially for developers engaged in building complex decentralized applications. As the framework evolves, it is poised to become an even more integral part of the CosmWasm development toolkit. Users are encouraged to stay updated with its progress and contribute to its development.

License

Licensed under Apache License, Version 2.0 (see LICENSE and NOTICE).

Any contribution intentionally submitted for inclusion in this crate by you, shall be licensed as above, without any additional terms or conditions.

Dependencies

~4.5–7MB
~146K SLoC