sealerio/sealer

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

开放

#1,488 创建于 2022年6月8日

 (1 条评论) (0 个反应) (0 位负责人)Go (358 个派生)github user discovery
good first issuehelp wantedkind/featuretest

仓库指标

星标
 (2,096 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南