Home

Awesome

Build Status NuGet

FluentAssertions.CSharpFunctionalExtensions

This is a small library for using FluentAssertions on the types provided on the CSharpFunctionalExtensions library.

In other words, you will only need this library if you already use and like the two libraries above - which I imagine you do since you're here, or would if you try them out :D

What is actually included in this library?

Simply the appropriate methods and classes for asserting the types that come from the CSharpFunctionalExtensions library:

// Arrange
var myClass = new MyClass();

// Act
Result result = myClass.TheMethod();

// Assert
result.Should().BeSuccess();