Skip to content

Conversation

@StefH
Copy link
Collaborator

@StefH StefH commented Aug 22, 2025

No description provided.

Copy link
Contributor

Copilot AI left a 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.

@codecov
Copy link

codecov bot commented Aug 22, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 25 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@ddb181c). Learn more about missing BASE report.
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...Assertions/Assertions/WireMockAssertions.AtPath.cs 50.00% 25 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@StefH StefH merged commit 08117e8 into master Aug 22, 2025
11 checks passed
@StefH StefH deleted the at-path branch August 22, 2025 17:41
This was referenced Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant