motsu-proc

Crates.iomotsu-proc
lib.rsmotsu-proc
version0.9.0
sourcesrc
created_at2024-09-11 06:11:20.079529+00
updated_at2025-05-21 10:55:57.599381+00
descriptionUnit Testing Procedural Macros
homepage
repositoryhttps://github.com/OpenZeppelin/stylus-test-helpers
max_upload_size
id1371619
size7,161
Gustavo Gonzalez (ggonzalez94)

documentation

README

Motsu's Procedural Macros

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.

Usage

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.

Security

Refer to our Security Policy for more details.

Commit count: 22

cargo fmt