Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 992 Bytes

CONTRIBUTING.md

File metadata and controls

22 lines (18 loc) · 992 Bytes

Build status:

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.