Improve test coverage for fluent-operator

オープン
#1,417 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go, kubernetes
領域
testing

調査の方向性

まず既存のプラグインのユニットテストと Fluentd のエンドツーエンドテストを確認し、その後 pkg/operator/daemonset.go と pkg/operator/fluentd-daemonset.go を調査してください。この Issue ではカバレッジ目標も完全なスコープも定義されていないため、テストを追加する前に、どのオペレーターの動作をカバーすべきか確認してください。完了条件には、合意したテストケースが成功することを含めてください。

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

説明

enhancement
Is your feature request related to a problem? Please describe.

Testing for fluent-operator is more or less limited to unit testing for plugin types and basic e2e tests for Fluentd. We could definitely improve a lot here to avoid bugs in future releases.

These could definitely use some unit tests as an example, but there is more:
https://github.com/fluent/fluent-operator/blob/master/pkg/operator/daemonset.go
https://github.com/fluent/fluent-operator/blob/master/pkg/operator/fluentd-daemonset.go

I will start working on some, but please share your thoughts and ideas as well.

Describe the solution you'd like

Improve testing coverage for the fluent-operator project

Additional context

No response

主要言語
Go
スター
689
フォーク
333
平均マージ
2日 6時間
マージ済み PR(30日)
43

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluent/fluent-operator のほかの issue

fluent/fluent-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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