Refactor ``test_components.py::test_describe_component``
Aperta
refactor
testing
- Lingua principale
- Python
- Stelle
- 850
- Fork
- 96
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
``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!
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.