dotnet-testing-advanced-xunit-upgrade-guide
✓xUnit 2.9.x 到 3.x 升級完整指南。 涵蓋破壞性變更、套件更新、async void 修正、IAsyncLifetime 調整。 包含新功能介紹: Assert.Skip、Explicit Tests、Matrix Theory、Assembly Fixtures。
Installation
SKILL.md
| xunit | xunit.v3 | 主要測試框架 | | xunit.assert | xunit.v3.assert | 斷言函式庫 | | xunit.core | xunit.v3.core | 核心元件 | | xunit.abstractions | (移除) | 不再需要 | | xunit.runner.visualstudio | xunit.runner.visualstudio (3.x.y) | 測試執行器 |
在 xUnit 3.x 中,IAsyncLifetime 繼承 IAsyncDisposable。如果同時實作 IAsyncLifetime 和 IDisposable,只會呼叫 DisposeAsync,不會呼叫 Dispose。
| Visual Studio | 2022 17.8+ | | VS Code | 最新版 | | Rider | 2023.3+ |
xUnit 2.9.x 到 3.x 升級完整指南。 涵蓋破壞性變更、套件更新、async void 修正、IAsyncLifetime 調整。 包含新功能介紹: Assert.Skip、Explicit Tests、Matrix Theory、Assembly Fixtures。 Source: kevintsengtw/dotnet-testing-agent-skills.
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-advanced-xunit-upgrade-guide- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is dotnet-testing-advanced-xunit-upgrade-guide?
xUnit 2.9.x 到 3.x 升級完整指南。 涵蓋破壞性變更、套件更新、async void 修正、IAsyncLifetime 調整。 包含新功能介紹: Assert.Skip、Explicit Tests、Matrix Theory、Assembly Fixtures。 Source: kevintsengtw/dotnet-testing-agent-skills.
How do I install dotnet-testing-advanced-xunit-upgrade-guide?
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-advanced-xunit-upgrade-guide 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
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01