Crates.io | motsu-proc |
lib.rs | motsu-proc |
version | 0.9.0 |
source | src |
created_at | 2024-09-11 06:11:20.079529+00 |
updated_at | 2025-05-21 10:55:57.599381+00 |
description | Unit Testing Procedural Macros |
homepage | |
repository | https://github.com/OpenZeppelin/stylus-test-helpers |
max_upload_size | |
id | 1371619 |
size | 7,161 |
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.