·dotnet-testing-unit-test-fundamentals
</>

dotnet-testing-unit-test-fundamentals

kevintsengtw/dotnet-testing-agent-skills

.NET은 FIRST 원본의 문을 사용합니다. 當需要建立單원測試、了解測試基礎、학술 3A 패턴、掌握測試最佳實踐시계용。 涵蓋 FIRST 원본, AAA 패턴, 사실/이론, 測試金字塔等.

27설치·1트렌드·@kevintsengtw

설치

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

SKILL.md

| Arrange | 準備測試所需的物件、資料、Mock | 使用 const 宣告常數值,提高可讀性 | | Act | 執行被測試的方法 | 通常只有一行,呼叫被測方法 | | Assert | 驗證結果 | 每個測試只驗證一個行為 |

| Add輸入1和2應回傳3 | 測試正常輸入 | | Add輸入負數和正數應回傳正確結果 | 測試邊界條件 | | Divide輸入10和0應拋出DivideByZeroException | 測試例外情況 | | IsValidEmail輸入null值應回傳False | 測試無效輸入 | | GetDomain輸入有效Email應回傳網域名稱 | 測試回傳值 |

| Assert.Equal(expected, actual) | 驗證相等 | | Assert.NotEqual(expected, actual) | 驗證不相等 | | Assert.True(condition) | 驗證條件為真 | | Assert.False(condition) | 驗證條件為假 | | Assert.Null(object) | 驗證為 null | | Assert.NotNull(object) | 驗證不為 null | | Assert.Throws (action) | 驗證拋出特定例外 | | Assert.Empty(collection) | 驗證集合為空 | | Assert.Contains(item, collection) | 驗證集合包含項目 |

.NET은 FIRST 원본의 문을 사용합니다. 當需要建立單원測試、了解測試基礎、학술 3A 패턴、掌握測試最佳實踐시계용。 涵蓋 FIRST 원본, AAA 패턴, 사실/이론, 測試金字塔等. 출처: kevintsengtw/dotnet-testing-agent-skills.

원본 보기

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-unit-test-fundamentals
카테고리
</>개발 도구
인증됨
최초 등록
2026-02-01
업데이트
2026-02-18

빠른 답변

dotnet-testing-unit-test-fundamentals이란?

.NET은 FIRST 원본의 문을 사용합니다. 當需要建立單원測試、了解測試基礎、학술 3A 패턴、掌握測試最佳實踐시계용。 涵蓋 FIRST 원본, AAA 패턴, 사실/이론, 測試金字塔等. 출처: kevintsengtw/dotnet-testing-agent-skills.

dotnet-testing-unit-test-fundamentals 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-unit-test-fundamentals 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다

소스 저장소는 어디인가요?

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