dotnet-testing-advanced-tunit-fundamentals
✓TUnit 新世代測試框架入門完整指南. 涵蓋 Generador de código fuente 驅動測試發現、AOT 編譯支援、流暢式非同步斷言。 包含專案建立、[Prueba] 屬性、生命週期管理、並行控制與 xUnit 語法對照.
SKILL.md
| [Before(Test)] | 實例方法 | 每個測試執行前 | | [Before(Class)] | 靜態方法 | 類別中第一個測試執行前 | | [Before(Assembly)] | 靜態方法 | 組件中第一個測試執行前 | | [After(Test)] | 實例方法 | 每個測試執行後 | | [After(Class)] | 靜態方法 | 類別中最後一個測試執行後 | | [After(Assembly)] | 靜態方法 | 組件中最後一個測試執行後 |
| 基本測試 | [Fact] | [Test] | | 參數化測試 | [Theory] + [InlineData] | [Test] + [Arguments] | | 基本斷言 | Assert.Equal(expected, actual) | await Assert.That(actual).IsEqualTo(expected) | | 布林斷言 | Assert.True(condition) | await Assert.That(condition).IsTrue() | | 例外測試 | Assert.Throws (() => action()) | await Assert.That(() => action()).Throws () |
| Null 檢查 | Assert.Null(value) | await Assert.That(value).IsNull() | | 字串檢查 | Assert.Contains("text", fullString) | await Assert.That(fullString).Contains("text") |
TUnit 新世代測試框架入門完整指南. 涵蓋 Generador de código fuente 驅動測試發現、AOT 編譯支援、流暢式非同步斷言。 包含專案建立、[Prueba] 屬性、生命週期管理、並行控制與 xUnit 語法對照. Fuente: kevintsengtw/dotnet-testing-agent-skills.
Datos (listos para citar)
Campos y comandos estables para citas de IA/búsqueda.
- Comando de instalación
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-advanced-tunit-fundamentals- Categoría
- </>Desarrollo
- Verificado
- ✓
- Primera vez visto
- 2026-02-01
- Actualizado
- 2026-02-18
Respuestas rápidas
¿Qué es dotnet-testing-advanced-tunit-fundamentals?
TUnit 新世代測試框架入門完整指南. 涵蓋 Generador de código fuente 驅動測試發現、AOT 編譯支援、流暢式非同步斷言。 包含專案建立、[Prueba] 屬性、生命週期管理、並行控制與 xUnit 語法對照. Fuente: kevintsengtw/dotnet-testing-agent-skills.
¿Cómo instalo dotnet-testing-advanced-tunit-fundamentals?
Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-advanced-tunit-fundamentals Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code o Cursor
¿Dónde está el repositorio de origen?
https://github.com/kevintsengtw/dotnet-testing-agent-skills
Detalles
- Categoría
- </>Desarrollo
- Fuente
- skills.sh
- Primera vez visto
- 2026-02-01