ha-testing
Installation
SKILL.md
Testing Home Assistant Integrations
Tests are required for Bronze tier on the Integration Quality Scale. At minimum: config flow tests for success, connection failure, and auth failure.
Test Structure
tests/
├── conftest.py # Shared fixtures
├── test_config_flow.py # Config flow tests (REQUIRED)
├── test_init.py # Setup/unload tests
├── test_sensor.py # Entity tests
└── test_coordinator.py # Coordinator tests
conftest.py
"""Fixtures for {Name} tests."""
Related skills