# Build status: [![GitHub Actions](https://github.com/basnijholt/miflora/workflows/tox/badge.svg)](https://github.com/basnijholt/miflora/actions) [![Coverage Status](https://coveralls.io/repos/github/basnijholt/miflora/badge.svg?branch=master)](https://coveralls.io/github/basnijholt/miflora?branch=master) # Testing The project uses [tox](https://tox.readthedocs.io/en/latest/) for automated testing and dependency mangement and [pytest](https://docs.pytest.org/en/latest/) 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 ```bash tox -e integration_tests -- --mac= ``` These test are NOT run on the GitHub Actions CI, as they require additional hardware.