This directory contains comprehensive tests for the Torque integration.
To run all tests:
pytest tests/To run tests with coverage:
pytest tests/ --cov=custom_components.torque --cov-report=htmlconftest.py- Test fixtures and configurationtest_config_flow.py- Tests for configuration flowtest_sensor.py- Tests for sensor functionalitytest_init.py- Tests for integration setup/teardown
The tests require the following packages:
- pytest
- pytest-homeassistant-custom-component
- pytest-cov (for coverage reporting)