Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top level mock wrapper #19

Open
ryankurte opened this issue Feb 5, 2019 · 0 comments
Open

Top level mock wrapper #19

ryankurte opened this issue Feb 5, 2019 · 0 comments

Comments

@ryankurte
Copy link
Collaborator

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 added a commit to ryankurte/embedded-hal-mock that referenced this issue Apr 23, 2019
This allows multiple devices to be used in a single mock run, towards dbrgn#19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant