#mocking #tdd #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

#27 in #tdd

Download history 5/week @ 2024-04-12 7/week @ 2024-04-19 15/week @ 2024-04-26 4/week @ 2024-05-03 12/week @ 2024-05-10 59/week @ 2024-05-17 17/week @ 2024-05-24 10/week @ 2024-05-31 9/week @ 2024-06-07 9/week @ 2024-06-14 5/week @ 2024-06-21 1/week @ 2024-06-28 6/week @ 2024-07-05 17/week @ 2024-07-12 13/week @ 2024-07-19 30/week @ 2024-07-26

66 downloads per month
Used in 2 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