-
Notifications
You must be signed in to change notification settings - Fork 289
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
✨ [Feature]: 完善组件单元测试 #947
Comments
date-picker-pro select 单测正在进行中 |
modal overlay单测正在进行中 |
2022.7.18 update:
|
date-picker-pro 还有一个单元测试报错:
|
2022.7.19 update:
|
2022.7.20 update:
详细信息请查看 Github Actions 任务:https://github.com/DevCloudFE/vue-devui/runs/7422605733?check_suite_focus=true
|
2022.7.20 更新: |
目前单元测试( Maximum recursive updates exceeded in componentd-select 存在一个 warn,会影响单元测试结果的查看:
这个问题会影响多个使用了select的组件的单测:
Template compilation error: Element is missing end tag
Component is missing template or render function
|
d-tooltip 偶现单测报错:
|
d-tooltip 偶现单测报错:
|
Related Issue: DevCloudFE#947
Related Issue: DevCloudFE#947
待补充的单元测试已通过
it.todo
方式标记出来,可以在项目里搜索it.todo
关键字,找到想要贡献的单元测试。为了保障组件质量和稳定性,为新特性的添加或代码重构添加防护网,每个组件需要增加完善的单元测试,测试组件的UI表现、交互逻辑是否正常,每个api是否生效和符合预期。
执行以下命令可以查看全量组件的单元测试结果:
查看特定组件单元测试结果:
The text was updated successfully, but these errors were encountered: