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

lm75: import unit test #38

Closed
wants to merge 2 commits into from
Closed

lm75: import unit test #38

wants to merge 2 commits into from

Conversation

trombik
Copy link
Collaborator

@trombik trombik commented Aug 27, 2019

finally, I figured out how to run unit tests in component development.
There are lots of undocumented pitfalls.

with the Makefile under test directory, you can run unit tests on a
real device. currently, the test file has a meaningless unit test. for
now, it is written for reference purpose only.

tested on ESP32.

finally, I figured out how to run unit tests in component development.
There are lots of undocumented pitfalls.

with the Makefile under `test` directory, you can run unit tests on a
real device. currently, the test file has a meaningless unit test. for
now, it is written for reference purpose only.

tested on ESP32.
@UncleRus
Copy link
Owner

I'm not sure that unit test can be used by us.
Perhaps we should think over the scenarios when this approach to component testing is justified.
I won't merge this PR as it is, but I won't close it either, until the way it is used becomes clear.
Perhaps we should create an issue to discuss using unittest.

@trombik trombik mentioned this pull request Aug 28, 2019
@trombik trombik closed this Apr 1, 2020
@trombik trombik deleted the unit_test branch April 1, 2020 22:18
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

Successfully merging this pull request may close these issues.

None yet

2 participants