Updated project to be .net 6 compatible. (With FluentAssertion v6.6.0)
4.2.0
2 years ago
Fix base class on BadRequest and Conflict object result assertions (Thanks for @ChristopherHaws)
4.1.0_fixed
2 years ago
Adds assertions for:
ConflictResult
ConflictObjectResult (Thanks for @drewjcooper)
4.0.1
2 years ago
4.0.0
2 years ago
Breaking
#25 Add support for FluentAssertions v6.0. (Thanks for @CNBoland)
3.2.0
3 years ago
Improvements:
Added .BeObjectResult() to ActionResultAssertions<TValue>.
Added checks for ObjectResult.Value: WithValue, WithValueEquivalentTo, WithValueMatch.
3.1.0
3 years ago
Improvements:
Added ObjectResultAssertions and .BeObjectResult() extension.
Improved all ObjectResult derived classes with new checks: ContainsFormatter, WithContentType, WithDeclaredType, WithStatusCode.
Fixed several error messages.
Added missing document comments.
v.3.0.0
3 years ago
Breaking
#17 Upgrade to ASP.NET MVC Core 2.1
Improvements
#17 Multitarget ASP.NET CORE 2.1 and 3.0
#17 New assertions to test IConvertToActionResult: .BeActionResult(), .BeConvertibleTo()
#17 New assertions to test ActionResult<T>: .BeConvertibleTo(), .Result and .Value property
#14 Improvements to the assertion failure messages.
#14 Classes and Methods now have documentation comments. (They was there before but not compiled into the nuget.)
#14 Fixed some method's return type in FileResultAssertions and it's derived classes.
#14 PhysicalFileResultAssertions now have WithPhysicalFile and WithFileName, also VirtualFileResultAssertions have WithVirtualFile, WithFileName, so the preferred method can be choosed for testing.