mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
Add test command to copilot
This commit is contained in:
parent
a102eaf0cd
commit
b8cd4193a9
1
.github/copilot-instructions.md
vendored
1
.github/copilot-instructions.md
vendored
@ -94,6 +94,7 @@ automation application.
|
||||
- Provide descriptive state attributes
|
||||
- Testing:
|
||||
- Test location: `tests/components/{domain}/`
|
||||
- Run tests with `pytest --no-header --no-summary -x <location>`
|
||||
- Use pytest fixtures from `tests.common`
|
||||
- Mock external dependencies
|
||||
- Use snapshots for complex data
|
||||
|
Loading…
x
Reference in New Issue
Block a user