CycloneDX / CycloneDX/cyclonedx-python-lib

tests: test all model enums

Open
#991 0 comments 0 reactions 1 assignee Claimed by @jkowalleck View on GitHub
QA
Dominant language
Python
Stars
116
Forks
67
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.