CycloneDX / CycloneDX/cyclonedx-python-lib

tests: test all model enums

Offen
#991 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @jkowalleck Auf GitHub ansehen
QA
Vorherrschende Sprache
Python
Sterne
116
Forks
67
Ø Merge
8 T. 2 Std.
Gemergte PRs (30 T.)
2

Beschreibung

in `cyclonedx/model/**/*.py` we define a lot of enums.

we have enum tests, that check that all actual enum cases are defined, and no unknown is defined.
this is done in `tests/test_enums.py`

unfortunately, we dont know if er forgot to test an enum.
this shall be fixed!

add a meta-test that checks that all needed test cases exist.

if any enum was missing, add it.

**Goal** have all model's enums tested for completeness.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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