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

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

Open
16 tasks
ChelesteWang opened this issue Apr 7, 2023 · 3 comments
Open
16 tasks

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

ChelesteWang opened this issue Apr 7, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@ChelesteWang
Copy link
Collaborator

ChelesteWang commented Apr 7, 2023

Unit test completion

Priorities are distinguished by coverage levels.

P0

  • form
  • image
  • image-picker
  • notify
  • show-monitor

P1

  • context-provider
  • count-down
  • dropdown
  • dropdown-menu
  • image-preview
  • input
  • loadmore
  • pagination
  • rate
  • swipe-action
  • text-area
@ChelesteWang ChelesteWang added the help wanted Extra attention is needed label Apr 7, 2023
@adaex
Copy link
Collaborator

adaex commented Apr 7, 2023

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 ChelesteWang changed the title 【RFC】@arco-design/mobile-react 单元测试优化 【RFC】@arco-design/mobile-react Unit test optimization Apr 8, 2023
@ChelesteWang
Copy link
Collaborator Author

ChelesteWang commented Apr 8, 2023

Improve the snapshot test update mechanism

  • How to create a new component snapshot
  • How to update snapshots after component changes
  • Component update mechanism synchronizes with testing
  • Component code integration admission mechanism

@BoyYangzai
Copy link

完善快照测试更新机制

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

Maybe you can refer to antd5

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
Projects
None yet
Development

No branches or pull requests

3 participants