-
Notifications
You must be signed in to change notification settings - Fork 558
Closed
Labels
Description
说明
本仓库中组件代码有很多与 vue 仓库公用,大部分测试用例代码也能复用,区别在于本仓库用 Vitest 编写用例,vue使用 Jest 写用例。
因此建议认领的同学同时负责 vue2 与 vue next 两个仓库中对应组件的测试用例编写任务,如果你更熟悉 Jest 可以参照 官方迁移指南 来学习如何使用 Vitest。
- 遵循 TDesign 单元测试规范 进行单测开发,文档持续更新
- 参与贡献请在此
issue
中评论领取的组件 - 领取后请在两周内提交单元测试代码,单测过程中发现组件问题可以提
issue
或在PR
中修复 - 提交 PR 前请先本地确认该组件行、函数覆盖率达80%+
组件
基础
-
button
@chaishi [AutoComplete][Link][Button]: support some new features and add full unit tests #2219 -
icon
- @LadyChatterleyLover test(unit): add icon test #1925 -
link
@chaishi [AutoComplete][Link][Button]: support some new features and add full unit tests #2219
布局
-
divider
@chaishi [Divider][AutoComplete] 1.add props.options unit test to AutoComplete; 2. Add divider tests fully #2225 -
grid
- @LadyChatterleyLover test(unit): grid: add grid test #1755 -
layout
- @LadyChatterleyLover test(unit): layout: add layout test #1760 -
space
- @LadyChatterleyLover test: add space test #1920 8000 span>
导航
-
affix
- Refactor/affix #775 -
anchor
- test: 补充部分组件单元测试 #2043 -
breadcrumb
-@xxxlj test(unit): test(unit): add breadcrumb unit test #1459 -
dropdown
- @Isabella327 test-dropdown #1708 -
jumper
- @LadyChatterleyLover test(unit): add jumper test #1921 -
menu
- @LeeJim -
dropdown
- @Isabella327 test-dropdown #1708 -
pagination
- @HelKyle test(unit): add test for pagination #1690 -
steps
- @LadyChatterleyLover test(unit): steps: add steps test #1813 -
tabs
- @YunYouJun test(unit): add events test for tabs #1734
输入
-
AutoComplete
@chaishi [AutoComplete][Link][Button]: support some new features and add full unit tests #2219 -
cascader
- @PengYYYYY - test: 补充部分组件单元测试 #2043 -
checkbox
- @LadyChatterleyLover test(unit): checkbox: add checkbox test #1781 -
color-picker
- @S-mohan test: add color-picker test #1872 -
date-picker
- @HQ-Lin -
form
- @k1nz -
input
- @LadyChatterleyLover test(unit): input: add input test #1764 @chaishi test(unit): input: add input test #1764 -
input-number
- @LadyChatterleyLover test(unit): input-number: add input-number test #1816 -
radio
- @LadyChatterleyLover test(unit): radio: add radio test #1778 @chaishi [Radio] RadioGroup support allowUncheck; add KeyboardEvent; add unit tests #2241 -
select
- @PengYYYYY - test: 补充部分组件单元测试 #2043 -
select-input
- @whitexie - test(unit): add select-input test #2291 -
slider
- @ChrisLee0211 test(unit): add slider unit test #1141 -
switch
- @ChrisLee0211 Fix/switch unit test #1729 -
tag-input
- @LadyChatterleyLover test(unit): tag-input: add tag-input test #1865 @chaishi [TagInput] tests & features & bugs #2357 -
textarea
- @LadyChatterleyLover test(unit): textarea: add textarea test #1772 -
transfer
- @LadyChatterleyLover test(unit): transfer: add transfer test #1862 -
time-picker
@uyarn chore: add timepicker unit test #1979 -
tree-select
-
upload
@chaishi feat(upload): tests & features & bugs #2418
数据展示
-
avatar
- @LadyChatterleyLover test(unit): avatar: add avatar test #1753 @chaishi [Avatar] tests & features #2404 -
badge
- @LadyChatterleyLover test(unit): badge: add badge test #1746 -
calendar
- @PsTiu 完善日历组件单元测试,并对过程中发现的问题进行修复和优化。 #1972 -
card
- @LadyChatterleyLover -
collapse
- @isanxia -
comment
- @LadyChatterleyLover test(unit): comment: add comment test #1785 -
image
- @LadyChatterleyLover add image test #1922 @chaishi [Image] unit tests & bugs & features(global config) #2342 -
imageViewer
-
list
- @LadyChatterleyLover test(unit): list: add list test #1788 -
loading
- @LadyChatterleyLover test(unit): loading: add loading test #1789 -
progress
- @LadyChatterleyLover test(unit): progress: add progress test #1783 -
skeleton
- @LadyChatterleyLover test(unit): skeleton: add skeleton test #1744 -
swiper
- @duenyang -
table
- @chaishi -
tag
- @LadyChatterleyLover test(unit): tag: add tag test #1743 @chaishi [Tag] tests & features & bugs #2349 -
tooltip
- @LadyChatterleyLover test(unit): tooltip: add tooltip test #1849 -
tree
- @PengYYYYY -
watermark
-
rate
- @whitexie - test(unit): add rate unit test for Rate component #2336 -
timeline
@chaishi [Timeline] tests & features & bugs #2395
消息提醒
-
alert
- @LadyChatterleyLover test(unit): alert: add alert test #1786 -
dialog
- @LadyChatterleyLover 67E6 add dialog test #1811 -
drawer
- @LadyChatterleyLover test(unit): drawer: add drawer test #1833 -
guide
- @chaishi [Guide] tests & features #2363 -
message
- @LadyChatterleyLover test(unit): add message test #1824 -
notification
- @jiazengp - test: 补充部分组件单元测试 #2043 -
pop-confirm
- @Dlame -
popup
- @byq1213