#mocking #tdd #object #test

simulacrum_macros

Macros to simplify creating mock objects with Simulacrum

7 releases

Uses old Rust 2015

0.3.1 Mar 29, 2018
0.3.0 Mar 28, 2018
0.2.2 Mar 25, 2018
0.2.0 Jan 9, 2018
0.1.1 Dec 22, 2017

#1044 in Testing

Download history 1/week @ 2024-11-13 1/week @ 2024-11-20 1/week @ 2024-11-27 10/week @ 2024-12-04 35/week @ 2024-12-11 8/week @ 2024-12-18 1/week @ 2025-01-08 6/week @ 2025-01-15 8/week @ 2025-01-22 13/week @ 2025-02-05 31/week @ 2025-02-12 2/week @ 2025-02-19 21/week @ 2025-02-26

67 downloads per month
Used in 3 crates (via simulacrum)

MIT license

58KB
1.5K SLoC

Simulacrum Macros Docs Crates.io

These macros ease the creation of mock objects using simulacrum. See that crate's README for details.

Dependencies

~20KB