·fluent-assertions
</>

fluent-assertions

stuartf303/sorcha

Erstellt lesbare Testaussagen mit der FluentAssertions-Bibliothek. Wird verwendet, wenn: Komponententests schreiben, Integrationstests, Objektstatus überprüfen, Ausnahmen testen, Sammlungen bestätigen

4Installationen·1Trend·@stuartf303

Installation

$npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions

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()) |

Erstellt lesbare Testaussagen mit der FluentAssertions-Bibliothek. Wird verwendet, wenn: Komponententests schreiben, Integrationstests, Objektstatus überprüfen, Ausnahmen testen, Sammlungen bestätigen Quelle: stuartf303/sorcha.

Original anzeigen

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-01
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist fluent-assertions?

Erstellt lesbare Testaussagen mit der FluentAssertions-Bibliothek. Wird verwendet, wenn: Komponententests schreiben, Integrationstests, Objektstatus überprüfen, Ausnahmen testen, Sammlungen bestätigen Quelle: stuartf303/sorcha.

Wie installiere ich fluent-assertions?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code oder Cursor

Wo ist das Quell-Repository?

https://github.com/stuartf303/sorcha