Skip to content

First set of tests #1

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

Merged
merged 3 commits into from
Dec 13, 2018
Merged

First set of tests #1

merged 3 commits into from
Dec 13, 2018

Conversation

ShawnHymel
Copy link
Contributor

Moved from original circuitpython repo. Initial set of tests for onboard LED, GPIO, battery/voltage monitor pins, UART, SPI, I2C, SD card (SPI), and SD chip detect (CD) pin.

@ShawnHymel
Copy link
Contributor Author

@tannewt tagging you :)

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making new PRs! Please remove the mpy files because they will be auto generated.

@kattni @sommersoft what do you think about us renaming the files in source as examples so they get bundled as such. That way you just download a bundle onto a new board and can test it.

@ShawnHymel
Copy link
Contributor Author

@tannewt Removed .mpy files

@kattni
Copy link
Contributor

kattni commented Dec 12, 2018

@tannewt I don't understand what you're suggesting. Please clarify.

@sommersoft
Copy link
Collaborator

sommersoft commented Dec 12, 2018

I think I understand what @tannewt is saying, but I'll wait for his clarification.

Further, is this going into the bundle? If so, it will need some cookiecutter action applied, I imagine. If not, I guess we could write an "adabot-like" to handle local bundling/releasing.

@tannewt
Copy link
Member

tannewt commented Dec 12, 2018

@ShawnHymel Thanks!

@kattni @sommersoft I'm thinking we rename the source folder to examples and the individual files to match our naming scheme for examples. That way they'll end up in the bundle and not need any extra install when testing on a new board. Yes, that will need cookiecutter-ification but I wasn't going to ask Shawn to do that in this PR. Should we just merge and rename the files when we cookiecutter?

@kattni
Copy link
Contributor

kattni commented Dec 12, 2018

@tannewt As long as every file begins with boardtest_ I'm ok with it. I want the files renamed before we rename the source folder to examples.

If you want this merged before that, we should wait to rename the source folder until we cookiecutter it.

@sommersoft
Copy link
Collaborator

In re-visiting my thoughts, I see it a little differently.

Everything in source is more akin to a package and would be better in /adafruit_boardtest, and main.py is the example since it wraps usage of the _test scripts.

As a "non-voting" member, my thoughts should be weighted. 😄

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving and merging so @ShawnHymel can move forward.

I agree with @sommersoft about it being a package but also think we should be able to run each test individually.

@tannewt
Copy link
Member

tannewt commented Dec 13, 2018

I also agree with @kattni and am leaving the naming as is.

@tannewt tannewt merged commit 8f50586 into adafruit:master Dec 13, 2018
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.

4 participants