Build status:

September 8, 2020 ยท View on GitHub

GitHub Actions Coverage Status

Testing

The project uses tox for automated testing and dependency mangement and pytest as test framework.

Unit tests

Install tox and run 'tox' on your command line. This will execute all unit tests. Unit tests do not depend on a bluetooth dongle or a sensor.

These unit tests are run on GitHub Actions.

integration tests

These tests depend on the presence of the real Xiaomi Mi sensors and a Bluteooth LE dongle. To run these tests call

tox -e integration_tests -- --mac=<mac of your sensor>

These test are NOT run on the GitHub Actions CI, as they require additional hardware.