sealerio/sealer

[unit-test] Correct commented unit tests to take them back

オープン

#1,488 opened on 2022/06/08

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Go (357 件のフォーク)github user discovery
good first issuehelp wantedkind/featuretest

Repository metrics

Stars
 (2,096 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

In pull request https://github.com/sealerio/sealer/pull/1476, we have succeeded in making unit-test work. While after that pull request, we found that we have very few unit test coverage, and this will definitely lead to the poor quality of sealer.

So I think we should try to gradually add all those commented unit tests back.

And we encourage the all community participants could feel free to help and contribute.

The example comment test case is like :

https://github.com/sealerio/sealer/blob/main/build/layerutils/charts/charts_test.go#L17-L47

https://github.com/sealerio/sealer/blob/main/pkg/config/config_test.go#L24-L106

and so on.

コントリビューターガイド