alteryx / alteryx/evalml

Refactor ``test_components.py::test_describe_component``

Offen
#2,876 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.