mry
mry copied to clipboard
A simple mocking library for structs, traits, and function.
We need to add a test case and write a few codes. Let me know if anyone wants this ASAP.
 I forgot to support lifetime parameters??
Functions like ```rust #[mry::mry] fn test &'a str { arg } ``` causes `error[E0261]: use of undeclared lifetime name 'a`, and removing `#[mry::mry]` fixes the error. Is this a bug...
It's difficult to mock functions or methods that have `!Clone` or `!Send` parameters