mockers icon indicating copy to clipboard operation
mockers copied to clipboard

Mocking library for Rust

Results 6 mockers issues
Sort by recently updated
recently updated
newest added

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...