embedded-hal-mock icon indicating copy to clipboard operation
embedded-hal-mock copied to clipboard

Top level mock wrapper

Open ryankurte opened this issue 5 years ago • 0 comments

For driver testing it is sometimes useful to expect a series of operations across a variety of peripherals (for example, pins, SPI, delays).

I haven't yet worked out exactly how, some refactoring will be required, but I think we should be able to create a top level / generic mock over a set of peripherals, while using the individual peripheral code to evaluate each "transaction".

ryankurte avatar Feb 05 '19 02:02 ryankurte