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

dotnet-testing-test-naming-conventions

kevintsengtw/dotnet-testing-agent-skills

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

13Installs·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 |

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

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-test-naming-conventions
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is dotnet-testing-test-naming-conventions?

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

How do I install dotnet-testing-test-naming-conventions?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-test-naming-conventions Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

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