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

Add built in testing #167

Merged
merged 72 commits into from
Sep 22, 2021
Merged

Add built in testing #167

merged 72 commits into from
Sep 22, 2021

Conversation

linknum23
Copy link
Contributor

Add scripts and supporting infrastructure to support a units ability to test its basic functionality. This supports production's need for more automated testing.

In the future many of these test and their configurations will be accessible via the touchscreen on the front of an AmpliPi. For now they will exist as scripts.

@linknum23 linknum23 linked an issue Aug 30, 2021 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2021

Codecov Report

Merging #167 (a2fc646) into master (5c97edc) will increase coverage by 0.66%.
The diff coverage is 72.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
+ Coverage   56.53%   57.20%   +0.66%     
==========================================
  Files          11       11              
  Lines        2432     2484      +52     
==========================================
+ Hits         1375     1421      +46     
- Misses       1057     1063       +6     
Flag Coverage Δ
unittests 57.20% <72.50%> (+0.66%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
amplipi/streams.py 46.66% <0.00%> (ø)
amplipi/hw.py 32.99% <5.55%> (-1.40%) ⬇️
amplipi/rt.py 24.07% <40.00%> (+0.24%) ⬆️
amplipi/ctrl.py 82.77% <97.29%> (+0.53%) ⬆️
amplipi/app.py 79.41% <100.00%> (+0.62%) ⬆️
amplipi/models.py 94.27% <100.00%> (+0.18%) ⬆️
amplipi/utils.py 69.84% <0.00%> (+4.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c97edc...a2fc646. Read the comment docs.

@micronova-jb micronova-jb mentioned this pull request Sep 8, 2021
10 tasks
@linknum23 linknum23 self-assigned this Sep 13, 2021
@linknum23 linknum23 added this to the Early Bird Units milestone Sep 13, 2021
@Lohrer Lohrer self-requested a review September 14, 2021 19:19
@linknum23 linknum23 merged commit 0d2e0ad into master Sep 22, 2021
@linknum23 linknum23 deleted the built_in_test branch September 22, 2021 17:32
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.

Down/uploading AmpliPi config
3 participants