rust-i2cdev icon indicating copy to clipboard operation
rust-i2cdev copied to clipboard

Switch to mockall #[cfg_attr(test, automock)] on trait

Open SpAndrea117 opened this issue 9 months ago • 1 comments

Why this crate implements a proper way of mocking the protocol? It would be much more flexible, for unit test purposes, to provide to the end user the possibility to describe the trait mocked method behaviour using the mockall crate pattern

SpAndrea117 avatar May 23 '24 14:05 SpAndrea117