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

best practice: unit tests on micropython? #6

Open
ThomasWaldmann opened this issue Mar 11, 2018 · 3 comments
Open

best practice: unit tests on micropython? #6

ThomasWaldmann opened this issue Mar 11, 2018 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@ThomasWaldmann
Copy link
Collaborator

Usually I use pytest to run tests, but I guess that does not work on MicroPython?

So what is a sane, working test runner?

Currently I do testing using the UNIX port of MicroPython.

@ThomasWaldmann ThomasWaldmann added the help wanted Extra attention is needed label Mar 11, 2018
@ThomasWaldmann ThomasWaldmann changed the title testing on micropython best practice: unit tests on micropython? Mar 19, 2018
@mattytrentini
Copy link
Sponsor

There is micropython-lib.unittest. Haven't used it but it looks simple and straightforward...

@ThomasWaldmann
Copy link
Collaborator Author

Ah, good idea. I don't really like unittest, but guess it's better than nothing.

@mattytrentini
Copy link
Sponsor

And if we need to improve it we may as well contribute changes back upstream... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants