| Crates.io | motsu-proc |
| lib.rs | motsu-proc |
| version | 0.10.0 |
| created_at | 2024-09-11 06:11:20.079529+00 |
| updated_at | 2025-07-16 15:43:49.234323+00 |
| description | Unit Testing Procedural Macros |
| homepage | |
| repository | https://github.com/OpenZeppelin/stylus-test-helpers |
| max_upload_size | |
| id | 1371619 |
| size | 101,233 |
This crate contains the #[motsu::test] attribute definition used in motsu. This macro is designed to simplify testing for smart contracts built with the Stylus SDK.
The #[motsu::test] attribute is an enhanced version of Rust's built-in #[test] attribute. It is specifically designed for testing within the Stylus execution environment, allowing you to interact with contract storage and environment variables like msg::sender.
Refer to our Security Policy for more details.