Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📌 组件单元测试提升计划 #768

Closed
62 of 64 tasks
PengYYYYY opened this issue May 13, 2022 · 25 comments
Closed
62 of 64 tasks

📌 组件单元测试提升计划 #768

PengYYYYY opened this issue May 13, 2022 · 25 comments
Labels
🙏🏻 help wanted Extra attention is needed WIP

Comments

@PengYYYYY
Copy link
Collaborator

PengYYYYY commented May 13, 2022

说明

本仓库中组件代码有很多与 vue 仓库公用,大部分测试用例代码也能复用,区别在于本仓库用 Vitest 编写用例,vue使用 Jest 写用例。
因此建议认领的同学同时负责 vue2 与 vue next 两个仓库中对应组件的测试用例编写任务,如果你更熟悉 Jest 可以参照 官方迁移指南 来学习如何使用 Vitest。

  1. 遵循 TDesign 单元测试规范 进行单测开发,文档持续更新
  2. 参与贡献请在此 issue 中评论领取的组件
  3. 领取后请在两周内提交单元测试代码,单测过程中发现组件问题可以提 issue 或在 PR 中修复
  4. 提交 PR 前请先本地确认该组件行、函数覆盖率达80%+

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

组件

基础

布局

导航

输入

数据展示

消息提醒

@Tencent Tencent deleted a comment from github-actions bot May 13, 2022
@PengYYYYY PengYYYYY pinned this issue May 13, 2022
@ChrisLee0211
Copy link
Contributor

认领slider

@PengYYYYY PengYYYYY added the WIP label May 13, 2022
@ontheroad1992
Copy link
Contributor

认领 affix

@PengYYYYY PengYYYYY added the 🙏🏻 help wanted Extra attention is needed label Jun 16, 2022
@github-actions
Copy link
Contributor

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

ChrisLee0211 added a commit to ChrisLee0211/tdesign-vue-next that referenced this issue Jul 3, 2022
@PengYYYYY PengYYYYY reopened this Jul 4, 2022
@PengYYYYY PengYYYYY unpinned this issue Aug 15, 2022
@PengYYYYY PengYYYYY pinned this issue Aug 17, 2022
@xxxlj
Copy link
Contributor

xxxlj commented Aug 18, 2022

认领breadcrumb

@LadyChatterleyLover
Copy link
Contributor

认领grid, layout,checkbox,radio, switch, input,textarea, avatar, badge, card,progress, skeleton, tag

@HelKyle
Copy link
Contributor

HelKyle commented Sep 13, 2022

认领 jumper

@jiazengp
Copy link

认领 notification @PengYYYYY

@Isabella327
Copy link
Contributor

认领dropdown

@duenyang
Copy link

认领swiper

@ChrisLee0211
Copy link
Contributor

认领switch

@HelKyle
Copy link
Contributor

HelKyle commented Sep 17, 2022

认领 pagination

@isanxia
Copy link
Contributor

isanxia commented Sep 19, 2022

认领collapse

@byq1213
Copy link
Contributor

byq1213 commented Oct 13, 2022

认领 Message, Tooltip, Popup

@LadyChatterleyLover
Copy link
Contributor

认领transfer

@LadyChatterleyLover
Copy link
Contributor

认领tag-input

@PengYYYYY
Copy link
Collaborator Author

认领 Message, Tooltip, Popup

popup 分配给你了,其他两个已经处理完了

@LadyChatterleyLover
Copy link
Contributor

认领jumper,space,icon,image

@k1nz k1nz mentioned this issue Oct 31, 2022
15 tasks
@PengYYYYY PengYYYYY unpinned this issue Dec 30, 2022
@PengYYYYY PengYYYYY reopened this Jan 6, 2023
@PengYYYYY PengYYYYY pinned this issue Jan 6, 2023
@chaishi chaishi changed the title [WIP] 单元测试提升计划 📌 单元测试提升计划 Jan 6, 2023
@chaishi chaishi changed the title 📌 单元测试提升计划 📌 组件单元测试提升计划 Jan 6, 2023
@whitexie
Copy link
Contributor

认领 select-input

@whitexie
Copy link
Contributor

whitexie commented Feb 2, 2023

认领 rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏🏻 help wanted Extra attention is needed WIP
Projects
None yet
Development

No branches or pull requests