CycloneDX / CycloneDX/cyclonedx-python-lib

tests: test all model enums

オープン
#991 コメント 0 件 リアクション 0 件 担当者 1 名 @jkowalleck が担当を希望しています GitHub で見る
QA
主要言語
Python
スター
116
フォーク
67
平均マージ
8日 2時間
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。