10 releases (breaking)

0.8.0 Apr 10, 2025
0.7.0 Mar 19, 2025
0.6.0 Mar 11, 2025
0.2.1 Dec 17, 2024
0.1.1 Apr 15, 2025

#24 in #arbitrum

Download history 74/week @ 2024-12-31 339/week @ 2025-01-07 210/week @ 2025-01-14 263/week @ 2025-01-21 432/week @ 2025-01-28 386/week @ 2025-02-04 190/week @ 2025-02-11 112/week @ 2025-02-18 119/week @ 2025-02-25 285/week @ 2025-03-04 395/week @ 2025-03-11 230/week @ 2025-03-18 65/week @ 2025-03-25 88/week @ 2025-04-01 280/week @ 2025-04-08 162/week @ 2025-04-15

614 downloads per month
Used in motsu

MIT license

8KB
63 lines

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.

Dependencies

~205–640KB
~15K SLoC