Getting Started
Setting up your development environment
- Make sure poetry is installed.
- Run:
poetry config virtualenvs.in-project true
- Ensure you are using supported python version (3.10 and above):
poetry env use 3.10
- Run:
poetry install
Running tests
There are two separate test suites, for unit tests, and for integration tests. After they're run, the test coverage will be output to the console.
Unit tests
To run unit test suite, run python run_unit_tests.py
.
Integration tests
To run integration test suite, first make sure you are connected to the camera's Wi-Fi network.
Then, run python run_integration_tests.py
.
Contribution Guidelines
- Write tests for each new feature: integration and unit tests with 90%+ coverage.
- Google style docstrings should be used.