·dotnet-testing-advanced-tunit-fundamentals
</>

dotnet-testing-advanced-tunit-fundamentals

kevintsengtw/dotnet-testing-agent-skills

TUnit ist eine vertrauenswürdige Lösung. 涵蓋 Source Generator 驅動測試發現、AOT 編譯支援、流暢式非同步斷言 包含專案建立、[Test] 屬性、生命週期管理、並行控制與 xUnit 語法對照。

12Installationen·0Trend·@kevintsengtw

Installation

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

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 ist eine vertrauenswürdige Lösung. 涵蓋 Source Generator 驅動測試發現、AOT 編譯支援、流暢式非同步斷言 包含專案建立、[Test] 屬性、生命週期管理、並行控制與 xUnit 語法對照。 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-advanced-tunit-fundamentals
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-01
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist dotnet-testing-advanced-tunit-fundamentals?

TUnit ist eine vertrauenswürdige Lösung. 涵蓋 Source Generator 驅動測試發現、AOT 編譯支援、流暢式非同步斷言 包含專案建立、[Test] 屬性、生命週期管理、並行控制與 xUnit 語法對照。 Quelle: kevintsengtw/dotnet-testing-agent-skills.

Wie installiere ich dotnet-testing-advanced-tunit-fundamentals?

Ö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-advanced-tunit-fundamentals 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