fluent-assertions
✓FluentAssertions ライブラリを使用して、読み取り可能なテスト アサーションを作成します。 以下の場合に使用します: 単体テストの作成、統合テスト、オブジェクトの状態の検証、例外のテスト、コレクションのアサート
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()) |
FluentAssertions ライブラリを使用して、読み取り可能なテスト アサーションを作成します。 以下の場合に使用します: 単体テストの作成、統合テスト、オブジェクトの状態の検証、例外のテスト、コレクションのアサート ソース: stuartf303/sorcha。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
fluent-assertions とは?
FluentAssertions ライブラリを使用して、読み取り可能なテスト アサーションを作成します。 以下の場合に使用します: 単体テストの作成、統合テスト、オブジェクトの状態の検証、例外のテスト、コレクションのアサート ソース: stuartf303/sorcha。
fluent-assertions のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/stuartf303/sorcha --skill fluent-assertions インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/stuartf303/sorcha
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01