
Description
csharp-testing is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out testing patterns for C# and .NET applications built on xUnit and FluentAssertions. It is used when an agent writes new tests for C# code, reviews the quality and coverage of existing tests, sets up test infrastructure for a .NET project, or debugs tests that are flaky or slow. The skill covers a test framework stack, mocking, integration tests and how to organise tests in a solution. Because it is a SKILL.md file of instructions, an AI coding agent loads it only when a task calls for it, so it follows the same conventions each time it writes or reviews tests. It does not run the tests itself. It is free and open source.…
Highlights
- xUnit and FluentAssertions test patterns
- Mocking and integration test guidance
- Test infrastructure setup for .NET
- Help with flaky or slow tests
Ratings & Reviews
No ratings yet
Be the first to rate csharp-testing.
People also visit

fsharp-testing
F# testing patterns with xUnit, FsUnit, Unquote, FsCheck property-based testing

csharp-xunit
Comprehensive XUnit testing guide covering standard facts, data-driven theories

csharp-nunit
NUnit best practices for standard and data-driven unit testing in .NET projects

csharp-mstest
Modern unit testing with MSTest 3.x/4.x using current APIs and best practices

run-tests
ALWAYS USE before running .NET tests or answering with a test command or flags
csharp-testing FAQ
What does the csharp-testing skill do?
It guides an AI agent in writing, reviewing and organising C# tests with xUnit and FluentAssertions, including mocks and integration tests.
When should I use it?
When writing new tests for C# code, checking test quality, setting up .NET test projects, or debugging slow or flaky tests.
Which test libraries does it use?
xUnit as the test framework and FluentAssertions for readable assertions.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill csharp-testing
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best csharp-testing alternatives?
Popular alternatives to csharp-testing include fsharp-testing, csharp-xunit and csharp-nunit. See all csharp-testing alternatives










