feat: add HasScheme for Uri#92
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds the HasScheme method for Uri objects to support verifying URI schemes in the testing framework.
- Implements
HasScheme()extension method that returns aPropertyResult.String<Uri>for scheme verification - Adds comprehensive test coverage for both positive and negative assertion scenarios
- Updates the aweXpect.Core package dependency from version 2.22.2 to 2.23.0
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Source/aweXpect.Web/ThatUri.HasScheme.cs | Implements the HasScheme extension method for Uri verification |
| Tests/aweXpect.Web.Tests/ThatUri.HasScheme.Tests.cs | Comprehensive test suite covering all HasScheme method scenarios |
| Directory.Packages.props | Updates aweXpect.Core package version to support new functionality |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
🚀 Benchmark ResultsDetails
|
|
This is addressed in release v1.6.0. |



This PR adds the
HasSchememethod forUriobjects to support verifying URI schemes in the testing framework.Key changes:
HasScheme()extension method that returns aPropertyResult.String<Uri>for scheme verification