·dotnet-testing-test-naming-conventions
</>

dotnet-testing-test-naming-conventions

kevintsengtw/dotnet-testing-agent-skills

測試命名規範與最佳實踐的專門技能. 當需要為測試方法命名、改進測試可讀性、建立命名標準時使用. 涵蓋三段式命名法、中文命名建議、測試類別命名等.

13Installationen·0Trend·@kevintsengtw

Installation

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

SKILL.md

| 被測試方法名稱 | 正在測試的方法名稱 | Add、ProcessOrder、IsValidEmail | | 測試情境/輸入條件 | 描述測試的前置條件或輸入 | 輸入1和2、輸入null、輸入有效訂單 | | 預期行為/結果 | 描述預期的輸出或行為 | 應回傳3、應拋出Exception、應回傳True |

| TestAdd | Add輸入1和2應回傳3 | 清楚說明測試情境與預期結果 | | Test1 | Add輸入負數和正數應回傳正確結果 | 有意義的描述 | | EmailTest | IsValidEmail輸入有效Email應回傳True | 完整的三段式命名 | | OrderTest | ProcessOrder輸入null應拋出ArgumentNullException | 明確的例外情境 |

| Calculator | CalculatorTests | | OrderService | OrderServiceTests | | EmailHelper | EmailHelperTests | | PriceCalculator | PriceCalculatorTests |

測試命名規範與最佳實踐的專門技能. 當需要為測試方法命名、改進測試可讀性、建立命名標準時使用. 涵蓋三段式命名法、中文命名建議、測試類別命名等. Quelle: kevintsengtw/dotnet-testing-agent-skills.

Original anzeigen

Fakten (zitierbereit)

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

Installationsbefehl
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-test-naming-conventions
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-01
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist dotnet-testing-test-naming-conventions?

測試命名規範與最佳實踐的專門技能. 當需要為測試方法命名、改進測試可讀性、建立命名標準時使用. 涵蓋三段式命名法、中文命名建議、測試類別命名等. Quelle: kevintsengtw/dotnet-testing-agent-skills.

Wie installiere ich dotnet-testing-test-naming-conventions?

Ö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/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-test-naming-conventions 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/kevintsengtw/dotnet-testing-agent-skills