#mock #mocking #test #testing #tdd

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

#14 in #tdd

Download history 673/week @ 2021-01-16 559/week @ 2021-01-23 1053/week @ 2021-01-30 664/week @ 2021-02-06 671/week @ 2021-02-13 1096/week @ 2021-02-20 428/week @ 2021-02-27 428/week @ 2021-03-06 488/week @ 2021-03-13 677/week @ 2021-03-20 529/week @ 2021-03-27 505/week @ 2021-04-03 496/week @ 2021-04-10 592/week @ 2021-04-17 543/week @ 2021-04-24 567/week @ 2021-05-01

2,453 downloads per month
Used in 2 crates (via simulacrum)

MIT license

57KB
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

~17KB