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

Adds code coverage to FolderNameEditor #11973

Conversation

ricardobossan
Copy link
Member

@ricardobossan ricardobossan commented Aug 23, 2024

Related #10773

Proposed changes

  • Adds code coverage to FolderNameEditor

Customer Impact

  • None

Regression?

  • No

Risk

  • Minimal

Screenshots

Before

before

After

after

Test methodology

  • Unit tests

Test environment(s)

  • 9.0.100-preview.7.24407.12
Microsoft Reviewers: Open in CodeFlow

@ricardobossan ricardobossan added the waiting-review This item is waiting on review by one or more members of team label Aug 23, 2024
@ricardobossan ricardobossan self-assigned this Aug 23, 2024
@ricardobossan ricardobossan requested a review from a team as a code owner August 23, 2024 10:23
@Tanya-Solyanik Tanya-Solyanik added 📭 waiting-author-feedback The team requires more information from the author and removed waiting-review This item is waiting on review by one or more members of team labels Aug 24, 2024
Copy link
Member

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please investigate the build failure

@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_FolderNameEditor branch from fab1487 to 074eb65 Compare August 26, 2024 14:32
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Aug 26, 2024
@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_FolderNameEditor branch from 074eb65 to df7ffe1 Compare August 26, 2024 14:42
@Tanya-Solyanik Tanya-Solyanik added the 📭 waiting-author-feedback The team requires more information from the author label Aug 26, 2024
@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_FolderNameEditor branch from df7ffe1 to 031819e Compare August 26, 2024 19:57
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Aug 26, 2024
@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_FolderNameEditor branch from 031819e to be5e88b Compare August 26, 2024 19:57
@LeafShi1
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_FolderNameEditor branch 2 times, most recently from 455d8f0 to 8ea6a8b Compare August 27, 2024 22:00
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.

Project coverage is 75.06846%. Comparing base (5b2165f) to head (7979d0c).
Report is 13 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #11973         +/-   ##
===================================================
- Coverage   75.06986%   75.06846%   -0.00141%     
===================================================
  Files           3059        3063          +4     
  Lines         632006      632075         +69     
  Branches       46782       46784          +2     
===================================================
+ Hits          474446      474489         +43     
- Misses        154188      154207         +19     
- Partials        3372        3379          +7     
Flag Coverage Δ
Debug 75.06846% <86.95652%> (-0.00141%) ⬇️
integration 17.92260% <ø> (-0.01341%) ⬇️
production 48.21848% <ø> (-0.00669%) ⬇️
test 97.01492% <86.95652%> (-0.00142%) ⬇️
unit 45.25449% <ø> (-0.00106%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ricardobossan
Copy link
Member Author

Please investigate the build failure

@Tanya-Solyanik I moved the test to the correct namespace (System.Windows.Forms.UI.IntegrationTests), but the CI pipeline still fails with an xUnit error at line 0:

XUnit failure on line 0

Error details from the pipeline:

@azure-pipelines
azure-pipelines
/ dotnet-winforms CI
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: D:\a_work\1\s\artifacts\log\Release\System.Windows.Forms.UI.IntegrationTests_net9.0-windows7.0_x86.log [net9.0-windows7.0|x86]

Related dotnet#10773

## Proposed changes

- Adds code coverage to `FolderNameEditor`

## Customer Impact

- None

## Regression?

- No

## Risk

- Minimal

## Test methodology

- Unit tests

## Test environment(s)

- 9.0.100-preview.7.24407.12
@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_FolderNameEditor branch from 8ea6a8b to 7979d0c Compare August 29, 2024 10:26
@ricardobossan ricardobossan added the waiting-review This item is waiting on review by one or more members of team label Aug 29, 2024
@ricardobossan
Copy link
Member Author

@lonitra @LeafShi1 @Epica3055 @SimonZhao888 Checks now pass. Could you please review this PR?

Copy link
Member

@lonitra lonitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!

@lonitra lonitra added ready-to-merge PRs that are ready to merge but worth notifying the internal team. and removed waiting-review This item is waiting on review by one or more members of team labels Aug 29, 2024
@ricardobossan ricardobossan merged commit 062b0fe into dotnet:main Aug 29, 2024
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview1 milestone Aug 29, 2024
@dotnet-policy-service dotnet-policy-service bot removed the ready-to-merge PRs that are ready to merge but worth notifying the internal team. label Aug 29, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants