CycloneDX / CycloneDX/cyclonedx-core-java

Implement "Roundtrip" Tests to Improve Integrity

オープン
#418 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Java
スター
120
フォーク
90
平均マージ
12時間 43分
マージ済み PR(30日)
18

説明

The project should implement "roundtrip" tests in order to exercise validation and, hopefully, help prevent the defects that led to the need to release v9.01 and v9.02

1. Parse BOM that is known to be valid
2. Generate a BOM based on what has been parsed
3. Compare input and output - Should be the same, otherwise either parsing or generation is broken
4. Validate output against schema - Should be valid, otherwise generation is broken

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

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

調査の方向性

既存の BOM parser、generator、schema-validation のテストまたはエントリポイントを特定します。既知の有効な BOM fixture から始め、parsing、generation、input/output の比較、schema validation を実行します。roundtrip test が成功し、無効な生成 output または一致しない serialization を検出できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
testing
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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