fluent-assertions
✓Creates readable test assertions with FluentAssertions library. Use when: writing unit tests, integration tests, verifying object state, testing exceptions, asserting collections
Installation
SKILL.md
FluentAssertions provides a fluent interface for writing test assertions in C#. The Sorcha codebase uses it across 1,100+ tests with xUnit. All assertions follow the subject.Should().BeX() pattern.
| Should() | Entry point for all assertions | value.Should().Be(expected) | | And | Chain multiple assertions | .NotBeNull().And.HaveCount(2) | | Which/WhoseValue | Access nested values | .ContainKey("x").WhoseValue.Should().Be("y") | | Invoking | Test sync exceptions | obj.Invoking(x => x.Method()) |
| Awaiting | Test async exceptions | obj.Awaiting(x => x.MethodAsync()) |
Creates readable test assertions with FluentAssertions library. Use when: writing unit tests, integration tests, verifying object state, testing exceptions, asserting collections Source: stuartf303/sorcha.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions- Source
- stuartf303/sorcha
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is fluent-assertions?
Creates readable test assertions with FluentAssertions library. Use when: writing unit tests, integration tests, verifying object state, testing exceptions, asserting collections Source: stuartf303/sorcha.
How do I install fluent-assertions?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/stuartf303/sorcha
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01