winforms
winforms copied to clipboard
Add code coverage for buttons
related #10453 related #10773
Proposed changes
Add unit tests for FlatButton, RadioButton, CheckBox, RadioButtonRenderer and CheckBoxRenderer.
Customer Impact
- None
Regression?
- No
Risk
- Minimal
Test methodology
- Unit tests
Test environment(s)
- 9.0.100-alpha.1.23618.3<!-- use
dotnet --info
-->
Microsoft Reviewers: Open in CodeFlow
Drafted because there's more code to add coverage to.
Codecov Report
Attention: Patch coverage is 92.74194%
with 27 lines
in your changes are missing coverage. Please review.
Project coverage is 73.36648%. Comparing base (
5c38a91
) to head (656d3c9
). Report is 7 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #10693 +/- ##
===================================================
+ Coverage 73.32489% 73.36648% +0.04158%
===================================================
Files 3094 3099 +5
Lines 632406 632804 +398
Branches 46857 46880 +23
===================================================
+ Hits 463711 464266 +555
+ Misses 165250 165079 -171
- Partials 3445 3459 +14
Flag | Coverage Δ | |
---|---|---|
Debug | 73.36648% <92.74194%> (+0.04158%) |
:arrow_up: |
integration | 18.29153% <ø> (-0.07114%) |
:arrow_down: |
production | 46.81503% <ø> (+0.04970%) |
:arrow_up: |
test | 94.98357% <92.74194%> (+0.00018%) |
:arrow_up: |
unit | 43.85612% <ø> (+0.09434%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Please rebase on the latest.