{"id":13566113,"url":"https://github.com/CosmWasm/cw-multi-test","last_synced_at":"2025-04-03T23:31:05.320Z","repository":{"id":70413870,"uuid":"553051640","full_name":"CosmWasm/cw-multi-test","owner":"CosmWasm","description":"CosmWasm multi-contract testing framework","archived":false,"fork":false,"pushed_at":"2024-04-22T12:59:20.000Z","size":1357,"stargazers_count":32,"open_issues_count":9,"forks_count":31,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-04-22T14:05:06.752Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CosmWasm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-10-17T16:30:33.000Z","updated_at":"2024-04-23T15:46:19.596Z","dependencies_parsed_at":"2024-02-20T14:51:30.549Z","dependency_job_id":"4eb20ece-dbd0-452c-895b-7ba4c1875813","html_url":"https://github.com/CosmWasm/cw-multi-test","commit_stats":{"total_commits":593,"total_committers":21,"mean_commits":"28.238095238095237","dds":"0.47723440134907247","last_synced_commit":"42d8e9bb192362e9ee89074a5efd5d3ff52e91c4"},"previous_names":[],"tags_count":80,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmWasm%2Fcw-multi-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmWasm%2Fcw-multi-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmWasm%2Fcw-multi-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CosmWasm%2Fcw-multi-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CosmWasm","download_url":"https://codeload.github.com/CosmWasm/cw-multi-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097667,"owners_count":20883122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:02:02.351Z","updated_at":"2025-04-03T23:31:05.314Z","avatar_url":"https://github.com/CosmWasm.png","language":"Rust","funding_links":[],"categories":["CosmWasm Framework","Rust"],"sub_categories":[],"readme":"# CosmWasm MultiTest\n\n[![cw-multi-test on crates.io][crates-badge]][crates-url]\n[![docs][docs-badge]][docs-url]\n[![codecov][codecov-badge]][codecov-url]\n[![license][apache-badge]][apache-url]\n\n[crates-badge]: https://img.shields.io/crates/v/cw-multi-test.svg\n[crates-url]: https://crates.io/crates/cw-multi-test\n[docs-badge]: https://docs.rs/cw-multi-test/badge.svg\n[docs-url]: https://docs.rs/cw-multi-test\n[codecov-badge]: https://codecov.io/gh/CosmWasm/cw-multi-test/branch/main/graph/badge.svg?token=IYY72ZVS3X\n[codecov-url]: https://codecov.io/gh/CosmWasm/cw-multi-test\n[apache-badge]: https://img.shields.io/badge/License-Apache%202.0-blue.svg\n[apache-url]: LICENSE\n[notice-url]: NOTICE\n\n**Testing tools for multi-contract interactions**\n\n## Introduction\n\n**CosmWasm MultiTest** is a suite of testing tools designed for facilitating multi-contract\ninteractions within the [CosmWasm](https://github.com/CosmWasm) ecosystem.\nIts primary focus is on providing developers with a robust framework for simulating\ncomplex contract interactions and bank operations.\n\n## Library capabilities\n\n**CosmWasm MultiTest** enables comprehensive unit testing, including scenarios where contracts\ncall other contracts and interact with several modules like bank and staking. Its current implementation\neffectively handles these interactions, providing a realistic testing environment for contract developers.\nThe team is committed to extending **CosmWasm MultiTest**'s capabilities, making it a versatile tool\nfor various blockchain interaction tests.\n\n## Feature flags\n\n**CosmWasm MultiTest** library provides several feature flags that can be enabled like shown below:\n\n```toml\n[dev-dependencies]\ncw-multi-test = { version = \"2\", features = [\"staking\", \"stargate\", \"cosmwasm_2_2\"] }\n```\n\nSince version 2.1.0, **CosmWasm MultiTest** has no default features enabled.\nThe table below summarizes all available features:\n\n| Feature          | Description                                                                                        |\n|------------------|----------------------------------------------------------------------------------------------------|\n| **backtrace**    | Enables `backtrace` feature in **anyhow** dependency.                                              |\n| **staking**      | Enables `staking` feature in **cosmwasm-std** dependency.                                          |\n| **stargate**     | Enables `stargate` feature in **cosmwasm-std** dependency.                                         |\n| **cosmwasm_1_1** | Enables `cosmwasm_1_1` feature in **cosmwasm-std** dependency.                                     |\n| **cosmwasm_1_2** | Enables `cosmwasm_1_1` in **MultiTest** and `cosmwasm_1_2` feature in **cosmwasm-std** dependency. |\n| **cosmwasm_1_3** | Enables `cosmwasm_1_2` in **MultiTest** and `cosmwasm_1_3` feature in **cosmwasm-std** dependency. |\n| **cosmwasm_1_4** | Enables `cosmwasm_1_3` in **MultiTest** and `cosmwasm_1_4` feature in **cosmwasm-std** dependency. |\n| **cosmwasm_2_0** | Enables `cosmwasm_1_4` in **MultiTest** and `cosmwasm_2_0` feature in **cosmwasm-std** dependency. |\n| **cosmwasm_2_1** | Enables `cosmwasm_2_0` in **MultiTest** and `cosmwasm_2_1` feature in **cosmwasm-std** dependency. |\n| **cosmwasm_2_2** | Enables `cosmwasm_2_1` in **MultiTest** and `cosmwasm_2_2` feature in **cosmwasm-std** dependency. |\n\n## Conclusion\n\n**CosmWasm MultiTest** stands as a vital development tool in\nthe [CosmWasm](https://github.com/CosmWasm) ecosystem, especially for developers engaged\nin building complex decentralized applications. As the framework evolves, it is poised to become\nan even more integral part of the [CosmWasm](https://github.com/CosmWasm) development toolkit.\nUsers are encouraged to stay updated with its progress and contribute to its development.\n\n## License\n\nLicensed under [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n(see [LICENSE][apache-url] and [NOTICE][notice-url]).\n\nAny contribution intentionally submitted for inclusion in this crate by you,\nshall be licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCosmWasm%2Fcw-multi-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCosmWasm%2Fcw-multi-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCosmWasm%2Fcw-multi-test/lists"}