mockers
mockers copied to clipboard
Mocking library for Rust
Would be a useful feature to have!
I am working on a multitasking application using asyn-std library. I have a trait which extends Sync+Send and has multiple implementations. I am not able to mock it. I am...
When I tried to upgrade mock_shoout from Mockers 0.13.4 to 0.20.0, every place I used `#[mocked]` began to fail with the error `missing Handle in implementation`. This appears to be...
I try to configure a mock factory which is implemented as fluent interface: ``` #[cfg_attr(test, mocked)] pub trait IdFactory { fn with_value(&mut self, value: usize) -> &mut dyn IdFactory; fn...
- Fix review comments from the other PR. - Update dependencies. - Document matches in rustdoc. While [the guide is really good](https://github.com/kriomant/mockers/blob/master/doc/guide.md#argument-matchers), having a comprehensive list of all matchers can...
Currently the generated mock objects all share access to the internals, though an `Rc` so aren't `Sync` or `Send`. It also seems (from a cursory effort to change that to...