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

Code Coverage for Network Download REVIEW 1ST #12221

Conversation

paul1956
Copy link
Contributor

@paul1956 paul1956 commented Sep 25, 2024

Adds VB Netword Download tests

Proposed changes

  • Add 84 new Network Tests

Customer Impact

  • Improve test coverage for VB Network Download

Regression?

  • No

Risk

  • Minimal only adds tests
Microsoft Reviewers: Open in CodeFlow

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 99.66079% with 5 lines in your changes missing coverage. Please review.

Project coverage is 75.80466%. Comparing base (fae358b) to head (4361014).
Report is 5 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #12221         +/-   ##
===================================================
+ Coverage   75.69021%   75.80466%   +0.11445%     
===================================================
  Files           3151        3154          +3     
  Lines         635600      637069       +1469     
  Branches       46951       46973         +22     
===================================================
+ Hits          481087      482928       +1841     
+ Misses        151076      150704        -372     
  Partials        3437        3437                 
Flag Coverage Δ
Debug 75.80466% <99.66079%> (+0.11445%) ⬆️
integration 18.18012% <80.00000%> (-0.06746%) ⬇️
production 49.35676% <80.00000%> (+0.13210%) ⬆️
test 97.06195% <99.72771%> (+0.01142%) ⬆️
unit 46.43189% <80.00000%> (+0.23672%) ⬆️

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

@paul1956
Copy link
Contributor Author

@Tanya-Solyanik @KlausLoeffelmann this just has network download tests. It's as simple as I can make it.

Please review first

I can then add the other cleanup with no code changes at a later time.

@paul1956 paul1956 changed the title Extract only Network Download tests from #11863 Extract only Network Download tests from PR #11863 Sep 26, 2024
@paul1956 paul1956 changed the title Extract only Network Download tests from PR #11863 Add code coverage to Network Download from PR #11863 Sep 27, 2024
@paul1956 paul1956 changed the title Add code coverage to Network Download from PR #11863 Adds code coverage to Network Download from PR #11863 Sep 28, 2024
@paul1956 paul1956 changed the title Adds code coverage to Network Download from PR #11863 Code Coverage for Network Download from PR #11863 Oct 12, 2024
@paul1956
Copy link
Contributor Author

@Tanya-Solyanik @KlausLoeffelmann this is ready for review once #12226 is merged. It should only consist of tests and a few corrections to comments where m_Name was left after variables were renamed to _name plus come cleanup to WebClientCopy in preparation of replacing it.

If you want, I could do a separate PR for WebClientCopy changes but most of it is being replaced and the changes avoid Merge issues, the changes should be 100% covered by the tests in this PR. The file has 50% coverage because I can't test the upload code (here) it has been tested against public FTP test servers, but I am also not changing UploadFile code except for variable naming issues.

Since this PR is mostly tests and the minor cleanup this might be something @Tanya-Solyanik or her team want to review and then @KlausLoeffelmann could do final signoff of the test server which is all new code. Sorry in advance, if I am misunderstanding signoff procedures or organizational hierarchies.

@paul1956 paul1956 changed the title Code Coverage for Network Download from PR #11863 Code Coverage for Network Download review first Nov 1, 2024
@paul1956 paul1956 changed the title Code Coverage for Network Download review first Code Coverage for Network Download REVIEW 1ST Nov 1, 2024
@paul1956 paul1956 closed this Nov 14, 2024
@paul1956 paul1956 force-pushed the Add-Network-Download-Tests-Only-Review-1st branch from c44cb63 to 65f897b Compare November 14, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant