Skip to content

Releases: fluentassertions/fluentassertions.aspnetcore.mvc

4.3.0

13 Nov 13:58
7b2cbf4
Compare
Choose a tag to compare
  • Updated project to be .net 6 compatible. (With FluentAssertion v6.6.0)

4.2.0

14 Jan 05:50
941cc03
Compare
Choose a tag to compare
  • Fix base class on BadRequest and Conflict object result assertions (Thanks for @ChristopherHaws)

4.1.0

06 Oct 17:58
Compare
Choose a tag to compare

Adds assertions for:

  • ConflictResult
  • ConflictObjectResult (Thanks for @drewjcooper)

4.0.1

18 Aug 17:17
25a482b
Compare
Choose a tag to compare
Updating nuget api key

4.0.0

18 Aug 08:06
Compare
Choose a tag to compare

Breaking

  • #25 Add support for FluentAssertions v6.0. (Thanks for @CNBoland)

3.2.0

01 Nov 11:41
0357e47
Compare
Choose a tag to compare

Improvements:

  • Added .BeObjectResult() to ActionResultAssertions.
  • Added checks for ObjectResult.Value: WithValue, WithValueEquivalentTo, WithValueMatch.

3.1.0

24 Oct 14:21
4637031
Compare
Choose a tag to compare

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.

3.0.0

21 Jul 18:21
5195716
Compare
Choose a tag to compare

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.

2.4.0

27 Apr 08:28
4d49723
Compare
Choose a tag to compare

New

2.3.0

29 Mar 15:38
41f2d43
Compare
Choose a tag to compare

New