Description
Currently running Fluent Assertions v7 and XUnit V3. Expect XunitException to be thrown, however receiving generic AssertionFailedException. Appears that Fluent Assertions is unable to detect the framework.
Reproduction Steps
- Create new test project
- Install Fluent Assertions
- Install XUnit.v3
[Fact]
public void Test()
{
Action test = () => true.Should().BeFalse();
test.Should().ThrowExactly<XunitException>();
}
Expected behavior
Expect XUnitException
Actual behavior
Recieve AssertionFailedException
Regression?
No, occurs after updating to XUnit v3
Known Workarounds
No response
Configuration
No response
Other information
No response
Are you willing to help with a pull-request?
No