Skip to content
C

csharp-xunit

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

by githubFree

#1945in AI Skills
0In stores

Description

csharp-xunit is an agent skill from the github/awesome-copilot collection that guides unit testing in .NET with xUnit, covering standard fac…

Highlights

  • Facts for fixed inputs and theories for data-driven tests
  • Arrange-Act-Assert structure
  • IClassFixture and ICollectionFixture setup and teardown
  • Separate test project with xUnit packages
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate csharp-xunit.

People also visit

C

csharp-testing

C# and .NET testing patterns

AI Skills
Get
C

csharp-nunit

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

AI Skills
Get
F

fsharp-testing

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

AI Skills
Get
C

csharp-mstest

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

AI Skills
Get
T

tdd

Guided test-driven development workflow for .NET 10

AI Skills
Get
J

java-junit

JUnit 5 best practices for standard and data-driven unit testing

AI Skills
Get

csharp-xunit FAQ

What is the difference between a fact and a theory?

A fact is a test with fixed inputs. A theory is a data-driven test that runs over many input sets.

What are the fixture types?

IClassFixture for setup shared within a test class, and ICollectionFixture for setup shared across classes.

Why keep fixtures free of shared state?

So tests stay independent, since state one test changes could affect another.

How do I install it?

Run npx skills add https://github.com/github/awesome-copilot --skill csharp-xunit.

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best csharp-xunit alternatives?

Popular alternatives to csharp-xunit include csharp-testing, csharp-nunit and fsharp-testing. See all csharp-xunit alternatives

Developer Stuff

Badges