fluentassertions Documentation
FluentAssertions documentation. Use for fluent test assertions on collections, strings, exceptions, objects, dates, booleans, enums, and event monitoring in .NET.
Documentation Structure
contents/ # All pages at top level, one topic per file (31 files)
├── introduction.md, about.md, tips.md, basicassertions.md # Getting started
├── strings, numerictypes, booleans, datetimespans, enums, guids, ... # Per-type assertions
├── collections.md, dictionaries.md, exceptions.md # Collections and exceptions
├── objectgraphs.md, extensibility.md # Advanced comparison and custom assertions
└── upgradingtov6.md, upgradingtov8.md, releases.md # Migration and changelog
Topic Guide
| Topic |
Key Files |
| Getting started, Should() syntax |
contents/introduction.md, contents/basicassertions.md, contents/tips.md |
| Strings |
contents/strings.md |
| Numbers, booleans, nullables, enums, guids |
contents/numerictypes.md, contents/booleans.md, contents/nullabletypes.md, contents/enums.md, contents/guids.md |
| Dates and times |
contents/datetimespans.md |
| Collections and dictionaries |
contents/collections.md, contents/dictionaries.md |
| Exceptions |
contents/exceptions.md |
| Object graph comparison (BeEquivalentTo) |
contents/objectgraphs.md, contents/serializationignoredmembers.md |
| XML, JSON, URIs, streams |
contents/xml.md, contents/json.md, contents/uris.md, contents/streams.md |
| Types, methods, assemblies |
contents/typesandmethods.md, contents/assemblies.md |
| Events, async, timing |
contents/eventmonitoring.md, contents/specialized.md, contents/executiontime.md |
| Custom assertions and extensibility |
contents/extensibility.md |
| Upgrading and release notes |
contents/upgradingtov6.md, contents/upgradingtov8.md, contents/releases.md |
| F# usage |
contents/fsharp.md |
When to use
Use this skill when the user asks about:
- Writing FluentAssertions assertions in .NET unit tests (Should().Be..., Contain, Throw)
- Comparing object graphs or collections with BeEquivalentTo and equivalency options
- Asserting on dates, strings, exceptions, enums, XML, JSON, or monitored events
- Creating custom assertions or formatters
- Upgrading FluentAssertions to v6 or v8, or checking release notes
How to find information
- Use Topic Guide above to identify relevant files
- Read
TOC.md for complete file listing with descriptions
- Read specific files from
contents/{path}
1---2name: olore-fluentassertions-latest3description: Local fluentassertions documentation reference (latest). FluentAssertions documentation. Use for fluent test assertions on collections, strings, exceptions, objects, dates, booleans, enums, and event monitoring in .NET.4metadata:5 source: https://skillmd.com/skills/olorehq/olore-fluentassertions-latest6---78# fluentassertions Documentation910FluentAssertions documentation. Use for fluent test assertions on collections, strings, exceptions, objects, dates, booleans, enums, and event monitoring in .NET.1112## Documentation Structure1314```15contents/ # All pages at top level, one topic per file (31 files)16├── introduction.md, about.md, tips.md, basicassertions.md # Getting started17├── strings, numerictypes, booleans, datetimespans, enums, guids, ... # Per-type assertions18├── collections.md, dictionaries.md, exceptions.md # Collections and exceptions19├── objectgraphs.md, extensibility.md # Advanced comparison and custom assertions20└── upgradingtov6.md, upgradingtov8.md, releases.md # Migration and changelog21```2223## Topic Guide2425| Topic | Key Files |26|-------|-----------|27| Getting started, Should() syntax | `contents/introduction.md`, `contents/basicassertions.md`, `contents/tips.md` |28| Strings | `contents/strings.md` |29| Numbers, booleans, nullables, enums, guids | `contents/numerictypes.md`, `contents/booleans.md`, `contents/nullabletypes.md`, `contents/enums.md`, `contents/guids.md` |30| Dates and times | `contents/datetimespans.md` |31| Collections and dictionaries | `contents/collections.md`, `contents/dictionaries.md` |32| Exceptions | `contents/exceptions.md` |33| Object graph comparison (BeEquivalentTo) | `contents/objectgraphs.md`, `contents/serializationignoredmembers.md` |34| XML, JSON, URIs, streams | `contents/xml.md`, `contents/json.md`, `contents/uris.md`, `contents/streams.md` |35| Types, methods, assemblies | `contents/typesandmethods.md`, `contents/assemblies.md` |36| Events, async, timing | `contents/eventmonitoring.md`, `contents/specialized.md`, `contents/executiontime.md` |37| Custom assertions and extensibility | `contents/extensibility.md` |38| Upgrading and release notes | `contents/upgradingtov6.md`, `contents/upgradingtov8.md`, `contents/releases.md` |39| F# usage | `contents/fsharp.md` |4041## When to use4243Use this skill when the user asks about:44- Writing FluentAssertions assertions in .NET unit tests (Should().Be..., Contain, Throw)45- Comparing object graphs or collections with BeEquivalentTo and equivalency options46- Asserting on dates, strings, exceptions, enums, XML, JSON, or monitored events47- Creating custom assertions or formatters48- Upgrading FluentAssertions to v6 or v8, or checking release notes4950## How to find information51521. Use Topic Guide above to identify relevant files532. Read `TOC.md` for complete file listing with descriptions543. Read specific files from `contents/{path}`