·dotnet-testing-fluentvalidation-testing
</>

dotnet-testing-fluentvalidation-testing

kevintsengtw/dotnet-testing-agent-skills

FluentValidation モジュールの專門スキルを測定します。 當需要為 Validator 類別建立測試、驗證業務規則、測試錯誤訊息時使用。 カバー FluentValidation.TestHelper 完全使用、ShouldHaveValidationErrorFor、非同期ステップ、跨欄位邏輯など。

15インストール·0トレンド·@kevintsengtw

インストール

$npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-fluentvalidation-testing

SKILL.md

此技能專注於使用 FluentValidation.TestHelper 測試資料驗證邏輯,涵蓋基本驗證、複雜業務規則、非同步驗證和測試最佳實踐。

| TestValidate(model) | 執行同步驗證 | validator.TestValidate(request) | | TestValidateAsync(model) | 執行非同步驗證 | await validator.TestValidateAsync(request) |

| ShouldHaveValidationErrorFor(x => x.Property) | 斷言該屬性應該有錯誤 | result.ShouldHaveValidationErrorFor(x => x.Username) | | ShouldNotHaveValidationErrorFor(x => x.Property) | 斷言該屬性不應該有錯誤 | result.ShouldNotHaveValidationErrorFor(x => x.Email) | | ShouldNotHaveAnyValidationErrors() | 斷言整個物件沒有任何錯誤 | result.ShouldNotHaveAnyValidationErrors() |

FluentValidation モジュールの專門スキルを測定します。 當需要為 Validator 類別建立測試、驗證業務規則、測試錯誤訊息時使用。 カバー FluentValidation.TestHelper 完全使用、ShouldHaveValidationErrorFor、非同期ステップ、跨欄位邏輯など。 ソース: kevintsengtw/dotnet-testing-agent-skills。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-fluentvalidation-testing
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

dotnet-testing-fluentvalidation-testing とは?

FluentValidation モジュールの專門スキルを測定します。 當需要為 Validator 類別建立測試、驗證業務規則、測試錯誤訊息時使用。 カバー FluentValidation.TestHelper 完全使用、ShouldHaveValidationErrorFor、非同期ステップ、跨欄位邏輯など。 ソース: kevintsengtw/dotnet-testing-agent-skills。

dotnet-testing-fluentvalidation-testing のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-fluentvalidation-testing インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/kevintsengtw/dotnet-testing-agent-skills