-
Notifications
You must be signed in to change notification settings - Fork 494
chore: First integration tests for Hue #1541
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
base: main
Are you sure you want to change the base?
Conversation
Invitation URL: |
Test Results 61 files 378 suites 0s ⏱️ Results for commit e47e0e8. ♻️ This comment has been updated with latest results. |
Minimum allowed coverage is Generated by 🐒 cobertura-action against e47e0e8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing copyright on a lot of these
The next Lua Libs API release will have rudimentary support for testing LAN type edge drivers, so we're starting to write some integration tests for Philips Hue in advance of this. The current state of the in-development Lua Libs supports basic TCP client/server REST-ful interactions, so we've started writing some tests to exercise that.
dkjson will return a numerical value in the 2nd return position on success, whereas the on-hub json decode only uses that for errors. So places where we check for the presence of an error without checking for a nil first return will be false positives.
c481a86
to
f60dc18
Compare
Check all that apply
Type of Change
Checklist
Description of Change
The next Lua Libs API release will have rudimentary support for testing LAN type edge drivers, so we're starting to write some integration tests for Philips Hue in advance of this.
The current state of the in-development Lua Libs supports basic TCP client/server REST-ful interactions, so we've started writing some tests to exercise that.
Summary of Completed Tests
WIP