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

[Docs] Mocking of ResiliencePipelineProvider #1662

Merged
merged 3 commits into from
Sep 29, 2023
Merged

Conversation

martintmk
Copy link
Contributor

@martintmk martintmk commented Sep 29, 2023

The issue or feature being addressed

Closes #1652

Details on the issue fix or feature implementation

Explains how to mock ResiliencePipelineProvider<T>

Confirm the following

  • I started this PR by branching from the head of the default branch
  • I have targeted the PR to merge into the default branch
  • I have included unit tests for the issue/feature
  • I have successfully run a local build

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (5634c30) 84.63% compared to head (dec1fbe) 84.63%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1662   +/-   ##
=======================================
  Coverage   84.63%   84.63%           
=======================================
  Files         306      306           
  Lines        6819     6819           
  Branches     1045     1045           
=======================================
  Hits         5771     5771           
  Misses        839      839           
  Partials      209      209           
Flag Coverage Δ
linux ?
macos 84.63% <ø> (ø)
windows 84.63% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello martincostello added the v8 Issues related to the new version 8 of the Polly library. label Sep 29, 2023
docs/advanced/testing.md Outdated Show resolved Hide resolved
docs/advanced/testing.md Outdated Show resolved Hide resolved
docs/advanced/testing.md Outdated Show resolved Hide resolved
docs/advanced/testing.md Outdated Show resolved Hide resolved
src/Snippets/Docs/Testing.cs Outdated Show resolved Hide resolved
src/Snippets/Docs/Testing.cs Outdated Show resolved Hide resolved
src/Snippets/Snippets.csproj Outdated Show resolved Hide resolved
@martintmk martintmk enabled auto-merge (squash) September 29, 2023 11:30
@martintmk martintmk merged commit 2e82960 into main Sep 29, 2023
14 checks passed
@martintmk martintmk deleted the mtomka/docs-mocking branch September 29, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation v8 Issues related to the new version 8 of the Polly library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide an interface for the ResiliencePipelineProvider
2 participants