·dotnet-testing-awesome-assertions-guide
</>

dotnet-testing-awesome-assertions-guide

kevintsengtw/dotnet-testing-agent-skills

使用 AwesomeAssertions 進行流暢且可讀的測試斷言技能。 當需要撰寫清晰的斷言、比對物件、驗證集合、處理複雜比對時使用。 涵蓋 Should()、BeEquivalentTo()、Contain()、ThrowAsync() 等完整 API。

15Installs·0Trend·@kevintsengtw

Installation

$npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-awesome-assertions-guide

SKILL.md

AwesomeAssertions 是 FluentAssertions 的社群分支版本,使用 Apache 2.0 授權,完全免費且無商業使用限制。

| 授權 | 商業專案需付費 | Apache 2.0(完全免費) | | 命名空間 | FluentAssertions | AwesomeAssertions | | API 相容性 | 原版 | 高度相容 | | 社群支援 | 官方維護 | 社群維護 |

✅ 撰寫單元測試或整合測試時 ✅ 需要驗證複雜物件結構時 ✅ 比對 API 回應或資料庫實體時 ✅ 需要清晰的失敗訊息時 ✅ 建立領域特定測試標準時

使用 AwesomeAssertions 進行流暢且可讀的測試斷言技能。 當需要撰寫清晰的斷言、比對物件、驗證集合、處理複雜比對時使用。 涵蓋 Should()、BeEquivalentTo()、Contain()、ThrowAsync() 等完整 API。 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-awesome-assertions-guide
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is dotnet-testing-awesome-assertions-guide?

使用 AwesomeAssertions 進行流暢且可讀的測試斷言技能。 當需要撰寫清晰的斷言、比對物件、驗證集合、處理複雜比對時使用。 涵蓋 Should()、BeEquivalentTo()、Contain()、ThrowAsync() 等完整 API。 Source: kevintsengtw/dotnet-testing-agent-skills.

How do I install dotnet-testing-awesome-assertions-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-awesome-assertions-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