ant-design-blazor icon indicating copy to clipboard operation
ant-design-blazor copied to clipboard

Test Coverage Improvement

Open ElderJames opened this issue 2 years ago • 7 comments

We plan to release the official 1.0 version when the coverage reaches the desired value > 90%.

The following are all of the components currently in ant-design. Let's add test for them together.

  • [ ] affix
  • [ ] alert @kooliokey #2643
  • [ ] anchor
  • [ ] auto-complete
  • [ ] avatar @kooliokey #2648
  • [ ] back-top
  • [ ] badge
  • [ ] breadcrumb @kooliokey #2655
  • [ ] button
  • [ ] calendar
  • [ ] card
  • [ ] carousel
  • [ ] cascader
  • [ ] checkbox
  • [ ] collapse
  • [ ] comment @kooliokey #2645
  • [ ] date-picker
  • [ ] descriptions
  • [ ] divider
  • [ ] drawer @kooliokey #2833
  • [ ] dropdown
  • [ ] empty
  • [ ] form
  • [ ] grid
  • [ ] icon @kooliokey #2667
  • [ ] input-number
  • [ ] input
  • [ ] layout
  • [ ] list
  • [ ] mentions
  • [ ] menu
  • [ ] message
  • [ ] modal
  • [ ] notification
  • [ ] page-header
  • [ ] pagination
  • [ ] popconfirm
  • [ ] popover
  • [ ] progress
  • [ ] radio
  • [ ] rate
  • [ ] result
  • [ ] segmented
  • [ ] select
  • [ ] skeleton
  • [ ] slider @kooliokey #2818
  • [ ] space
  • [ ] spin
  • [ ] statistic
  • [ ] steps
  • [ ] switch
  • [ ] table
  • [ ] tabs
  • [ ] tag @kooliokey #2816
  • [ ] time-picker
  • [ ] timeline
  • [ ] tooltip
  • [ ] transfer
  • [ ] tree-select
  • [ ] tree
  • [ ] typography @kooliokey #3067
  • [ ] upload

We can get the detail by the codecov report:

https://app.codecov.io/gh/ant-design-blazor/ant-design-blazor

ElderJames avatar Aug 27 '22 09:08 ElderJames

@ElderJames That PR was for Alert that just needs moved in the list from affix

kooliokey avatar Aug 27 '22 23:08 kooliokey

@kooliokey Fixed. Thank you.

ElderJames avatar Aug 28 '22 02:08 ElderJames

Hello @kooliokey , would you like to continue to help the improvement?

ElderJames avatar Oct 10 '22 01:10 ElderJames

Hello @kooliokey , we still need to improve coverage, we'd appreciate it if you were available to help! 😊

ElderJames avatar Oct 28 '23 03:10 ElderJames

We also can use Playwright to setup E2E tests for the complex components, do you have any experience with this? @kooliokey

ElderJames avatar Dec 04 '23 13:12 ElderJames

We also can use Playwright to setup E2E tests for the complex components, do you have any experience with this? @kooliokey

That sounds like a good idea. I haven't used playwright before but have wanted to try it. Would we be testing the docs site with it? You have to run an application not random code from what I remember.

kooliokey avatar Dec 15 '23 19:12 kooliokey

Yes, we need to add a standalone E2E project for testing, because the demos on the documentation site don't cover the full use cases.

ElderJames avatar Dec 17 '23 13:12 ElderJames