-
-
Couldn't load subscription status.
- Fork 233
Add AtPath and AtAbsolutePath to Assertions projects #1349
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds AtPath and AtAbsolutePath assertion methods to both the FluentAssertions and AwesomeAssertions projects for WireMock.Net. It creates new assertion capabilities for verifying that a WireMock server was called at specific paths or absolute paths.
- Adds new AtPath and AtAbsolutePath methods with both string and IStringMatcher overloads
- Updates namespace references from WireMock.FluentAssertions to WireMock.AwesomeAssertions across multiple files
- Maintains consistent API design patterns with existing assertion methods
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| WireMockAssertions.AtPath.cs (FluentAssertions) | Adds new AtPath and AtAbsolutePath assertion methods using FluentAssertions Execute.Assertion pattern |
| WireMockAssertions.AtPath.cs (AwesomeAssertions) | Adds equivalent assertion methods using AwesomeAssertions _chain pattern |
| Multiple AwesomeAssertions files | Updates namespace declarations from WireMock.FluentAssertions to WireMock.AwesomeAssertions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/WireMock.Net.FluentAssertions/Assertions/WireMockAssertions.AtPath.cs
Show resolved
Hide resolved
src/WireMock.Net.FluentAssertions/Assertions/WireMockAssertions.AtPath.cs
Show resolved
Hide resolved
src/WireMock.Net.AwesomeAssertions/Assertions/WireMockAssertions.AtPath.cs
Show resolved
Hide resolved
src/WireMock.Net.AwesomeAssertions/Assertions/WireMockAssertions.AtPath.cs
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1349 +/- ##
=========================================
Coverage ? 35.79%
=========================================
Files ? 175
Lines ? 52177
Branches ? 0
=========================================
Hits ? 18675
Misses ? 32829
Partials ? 673 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.