Tencent / tdesign-react

A React UI components lib for TDesign.
https://tdesign.tencent.com/react
MIT License
820 stars 314 forks source link

📌 测试覆盖提升 #1280

Open honkinglin opened 2 years ago

honkinglin commented 2 years ago

目前在推进 React 组件库的正式版发布,组件 Api 也进入相对稳定阶段,为保证组件质量及减轻后续维护成本需完善测试覆盖率,尽可能的让每个 Api 都有单元测试保障。

Tips

认领方式:直接评论 “我来负责xxx组件” 即可。

⚠️ 重要:尽量开发一些有难度的、带边界校验的组件测试用例,以复杂组件为主。因为后面 Vue2/Vue3/React 会持续会统一自动生成测试用例。(统一通过 tdesign-api 输出测试用例,如果对这个有兴趣的可以联系 @chaishi )

具体进展

基础

布局

导航

输入

数据展示

消息提醒

github-actions[bot] commented 2 years ago

任何人都可以处理此问题。 请务必在您的 pull request 中引用此问题。 :sparkles: 感谢你的贡献! :sparkles:

uyarn commented 2 years ago

认领 timepickerloadingselect

PBK-B commented 2 years ago

认领 slider

insekkei commented 2 years ago

我来负责 steps 组件

ZWkang commented 2 years ago

@HQ-Lin 认领 avatar + badge 周末做吧

zFitness commented 2 years ago

link 组件测试覆盖还缺吗

zFitness commented 2 years ago

@HQ-Lin link 我来吧,毕竟 link 组件是我写的

Skyenought commented 2 years ago

我想认领 radio

sommouns commented 2 years ago

认领Link

sommouns commented 2 years ago

认领Link

1339

Isabella327 commented 2 years ago

dropdown组件认领 https://github.com/Tencent/tdesign-react/pull/1352

PBK-B commented 2 years ago

认领 textarea

HelKyle commented 2 years ago

认领 comment

PBK-B commented 2 years ago

认领 collapse

dontllllllllb commented 2 years ago

认领transfer

Isabella327 commented 2 years ago

认领transfer https://github.com/Tencent/tdesign-react/pull/1377

PBK-B commented 2 years ago

认领 Swiper

CodingOnStar commented 2 years ago

认领calendar

HelKyle commented 2 years ago

认领tooltip

duanbaosheng commented 2 years ago

认领date-picker

dontllllllllb commented 2 years ago

认领dialog

MrWeilian commented 1 year ago

我来负责 cascader 组件

MrWeilian commented 1 year ago

我来负责 color-picker 组件

Roxannej commented 10 months ago

是不是没有更新这个测试覆盖的完成度,我在develop分支,看上面写card需要补充测试的部分,但是我clone代码,card里面有test的文件,是需要更完善还是card组件的test已经完成了?

uyarn commented 9 months ago

是不是没有更新这个测试覆盖的完成度,我在develop分支,看上面写card需要补充测试的部分,但是我clone代码,card里面有test的文件,是需要更完善还是card组件的test已经完成了?

可以继续完善 直接提交PR就可以