Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 946 Bytes

CONTRIBUTING.md

File metadata and controls

19 lines (14 loc) · 946 Bytes

Build status:

Build Status 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 TravisCI.

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='. These test are NOT run on Travis CI, as they require additional hardware.