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

Azure functions: Unit tests #2726

Merged

Conversation

tippmar-nr
Copy link
Member

@tippmar-nr tippmar-nr commented Aug 30, 2024

Adds unit tests for Azure function code in agent and profiler

@tippmar-nr tippmar-nr changed the base branch from main to feature/azure-functions August 30, 2024 18:35
@tippmar-nr tippmar-nr changed the title **DRAFT** Azure functions: Unit tests Azure functions: Unit tests Aug 30, 2024
@tippmar-nr tippmar-nr marked this pull request as ready for review August 30, 2024 19:41
@tippmar-nr tippmar-nr requested a review from a team as a code owner August 30, 2024 19:41
@tippmar-nr tippmar-nr merged commit fd03d84 into feature/azure-functions Aug 30, 2024
13 checks passed
@tippmar-nr tippmar-nr deleted the feature-work/azure-function-unit-tests branch August 30, 2024 20:07
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.17%. Comparing base (9d739b5) to head (85c76e3).
Report is 1 commits behind head on feature/azure-functions.

Additional details and impacted files
@@                     Coverage Diff                     @@
##           feature/azure-functions    #2726      +/-   ##
===========================================================
+ Coverage                    80.74%   81.17%   +0.43%     
===========================================================
  Files                          459      459              
  Lines                        29265    29196      -69     
  Branches                      3222     3223       +1     
===========================================================
+ Hits                         23629    23701      +72     
+ Misses                        4845     4704     -141     
  Partials                       791      791              
Flag Coverage Δ
Agent 82.18% <100.00%> (+0.41%) ⬆️
Profiler 72.18% <ø> (+0.67%) ⬆️

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

Files with missing lines Coverage Δ
...c/Agent/Core/Configuration/DefaultConfiguration.cs 89.90% <100.00%> (+2.04%) ⬆️
.../NewRelic/Agent/Core/Utilities/ExtensionsLoader.cs 32.87% <ø> (+16.43%) ⬆️
src/Agent/NewRelic/Profiler/Logging/Logger.h 86.95% <ø> (ø)

... and 6 files with indirect coverage changes

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.

4 participants