This document discusses improving automated tests with Fluent Assertions. It covers supported frameworks like MSTest, NUnit, and XUnit. Common assertions are described for strings, numbers, dates, collections, and JSON. Assertions can be batched into scopes. Similar libraries exist for Java (AssertJ), Python (Fluentcheck, Assertpy) and JavaScript (Chai).
26. Gorilla Logic Proprietary and Confidential
Assertions Scope
❏ Batch multiple assertions into an AssertionScope
so that FluentAssertions throws one exception
at the end of the scope with all failures.
26
27. Gorilla Logic Proprietary and ConfidentialGorilla Logic Proprietary and Confidential
Asserts with JSON