AaronLionsheep / ShellyMQTT

IndigoDomo Plugin that interfaces with Shelly devices over MQTT.
MIT License
0 stars 0 forks source link

Implement unit testing #43

Closed AaronLionsheep closed 4 years ago

AaronLionsheep commented 4 years ago

There should be unit tests created for Each Shelly device class. Using GitHub automatons, pull requests from other developers can run these same tests to ensure no bugs are inadvertently introduced.

This will require "mock" indigo devices and a broker device. Unit tests can use these mocking classes to interact with Shelly devices.

AaronLionsheep commented 4 years ago

https://medium.com/swlh/automate-python-testing-with-github-actions-7926b5d8a865

AaronLionsheep commented 4 years ago

All devices have tests now.