kernelci / kernelci/kernelci-project
Tests need to be redesigned
- 主要言語
- Python
- スター
- 14
- フォーク
- 32
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 3
説明
As KernelCI keep evolving we have a lot of tests that has their use at beginning, but becoming more burden than useful now.
For example:
https://github.com/kernelci/kernelci-api/pull/512
Is not really required, as now we have model in kernelci-core package, and actually if any test should verify update against the model. Otherwise we have a problem, if someone update model in kernelci-core, he is forced to update artifical lists inside the tests.
Another example, that tests by themself often require more maintenance than functional code on python version upgrade, which is another efforts burner.
This is a proposal, and maybe even rant, and probably starter for discussion.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、この issue で議論されているテスト領域、リンクされている kernelci-api の pull request #512、および kernelci-core パッケージのモデルを確認します。どの人工的なテストリストがモデルを重複して表現しているか、またどのテストが Python バージョンのメンテナンス負担を生み出しているかを特定します。完了には、合意された再設計の範囲と、それに対応するテスト変更が必要ですが、この issue ではその範囲を定義していません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing-qa
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100