Refactor ``test_components.py::test_describe_component``
Offen
refactor
testing
- Vorherrschende Sprache
- Python
- Sterne
- 850
- Forks
- 96
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
``test_components.py::test_describe_component`` is a test that checks if a component.describe() returns the appropriate result. However, if a dev adds a new component, there is nothing requiring the dev to add that component to this test. That means this test will quickly get outdated.
We should either update this test to enforce that it checks every component available, or refactor this test and move each check to the appropriate component test file!
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.