Parent Issue: #4 Zero Test Coverage
Objective
Set up the foundational test infrastructure using pytest-homeassistant-custom-component to enable automated testing of the RiverLink integration.
Tasks
Directory Structure
tests/
├── __init__.py
├── conftest.py # Pytest fixtures
├── test_api.py # API client tests
├── test_coordinator.py # Coordinator tests
├── test_config_flow.py # Config flow tests
├── test_sensor.py # Sensor platform tests
├── test_binary_sensor.py # Binary sensor tests
├── test_select.py # Select platform tests
└── fixtures/
└── api_responses.json # Mock API responses
References
Priority
🔴 High - Foundation for all other testing
Parent Issue: #4 Zero Test Coverage
Objective
Set up the foundational test infrastructure using
pytest-homeassistant-custom-componentto enable automated testing of the RiverLink integration.Tasks
Directory Structure
References
Priority
🔴 High - Foundation for all other testing