You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Pytest Snapshot functionality and convert most (if not all) document reference comparisons to just using snapshots
If we plan to eventually contribute this upstream to Home Assistant, then we should follow their guidance for snapshot testing first-party components. More specifically, we need to use the same library that they do:
Snapshot testing in Home Assistant is built on top of Syrupy, their documentation can thus be applied when writing Home Assistant tests.
We should investigate and outline a plan to refactor tests to:
I'll use this document to track progress
The text was updated successfully, but these errors were encountered: