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

Add FluentAssertions extension methods #226

Merged
merged 42 commits into from
Jan 11, 2025

Conversation

MigMax
Copy link
Contributor

@MigMax MigMax commented Jan 11, 2025

This pull request introduces a new project, Ardalis.Result.FluentAssertions, which provides extension methods for the Result type to simplify assertions in unit tests.

Key Features:
Methods like ShouldBeSuccess(), ShouldBeFailure(), and others to enhance test readability and maintainability.
Designed to integrate seamlessly with FluentAssertions.
Fully tested to ensure correctness and reliability.
This addition aims to improve the developer experience when writing unit tests involving Ardalis.Result.

@MigMax MigMax changed the title Add fluent assertions extensions Add FluentAssertions extension methods Jan 11, 2025
@ardalis
Copy link
Owner

ardalis commented Jan 11, 2025

Love it!

Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
Ardalis.Result.FluentAssertions 100% 100% 29
Ardalis.Result 13% 7% 265
Summary 31% (166 / 538) 7% (12 / 172) 294

@ardalis ardalis merged commit c56f035 into ardalis:main Jan 11, 2025
1 check passed
@MigMax
Copy link
Contributor Author

MigMax commented Jan 13, 2025

Love it!

Glad you liked it. :)
How about a new release in orde to deploy the new nuget package ?

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.

2 participants