arco-design / arco-design-mobile

React mobile UI components library based on Arco Design
https://arco.design/mobile/react/arco-design/pc/#/
MIT License
397 stars 76 forks source link

【RFC】@arco-design/mobile-react Unit test optimization #111

Open ChelesteWang opened 1 year ago

ChelesteWang commented 1 year ago

Unit test completion

Priorities are distinguished by coverage levels.

P0

adaex commented 1 year ago

I think more details can be added later. For example, how to start doing it? Which components have a higher priority? Record a TODO here, and we will add them later.

ChelesteWang commented 1 year ago

Improve the snapshot test update mechanism

BoyYangzai commented 1 year ago

完善快照测试更新机制

  • [ ] 如何创建新的组件快照
  • [ ] 如何在组件更改后更新快照
  • [ ] 组件更新机制与测试同步
  • [ ] 组件代码集成准入机制

Maybe you can refer to antd5