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

Testing standalone sketches #245

Open
ianfixes opened this issue Dec 14, 2020 · 0 comments
Open

Testing standalone sketches #245

ianfixes opened this issue Dec 14, 2020 · 0 comments
Labels
arduino mocks Compilation mocks for the Arduino library enhancement New feature or request

Comments

@ianfixes
Copy link
Collaborator

Feature Request

It should be possible to create some form of unit testing for sketches (specifically, any functions defined in the sketch) building on the same mock system used for testing entire libraries.

Some care must be taken to handle infinite loops, e.g. if a sketch includes while(1); as a means of halting execution.

@ianfixes ianfixes added enhancement New feature or request arduino mocks Compilation mocks for the Arduino library labels Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arduino mocks Compilation mocks for the Arduino library enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant