·dotnet-testing-fluentvalidation-testing
</>

dotnet-testing-fluentvalidation-testing

kevintsengtw/dotnet-testing-agent-skills

FluentValidation을 통해 FluentValidation을 실행할 수 있습니다. 當需要為 검사기는 類別建立測試, 驗證業務規則, 測試錯誤訊息시계용입니다. 涵蓋 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을 통해 FluentValidation을 실행할 수 있습니다. 當需要為 검사기는 類別建立測試, 驗證業務規則, 測試錯誤訊息시계용입니다. 涵蓋 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을 통해 FluentValidation을 실행할 수 있습니다. 當需要為 검사기는 類別建立測試, 驗證業務規則, 測試錯誤訊息시계용입니다. 涵蓋 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