Skip to content
C

csharp-nunit

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

by githubFree

#1943in AI Skills
0In stores

Description

csharp-nunit is an agent skill from the github/awesome-copilot collection that sets out best practices for unit testing .NET projects with N…

Highlights

  • Separate test project with NUnit packages
  • TestFixture classes matching production code
  • MethodName_Scenario_ExpectedBehavior naming
  • Arrange-Act-Assert structure
  • Data-driven tests and dotnet test
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate csharp-nunit.

People also visit

C

csharp-xunit

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

AI Skills
Get
C

csharp-testing

C# and .NET testing patterns

AI Skills
Get
C

csharp-tunit

Best practices for writing unit tests

AI Skills
Get
J

java-junit

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

AI Skills
Get
D

Docs

Documentation for all active NUnit projects

Utilities
Launch
R

run-tests

ALWAYS USE before running .NET tests or answering with a test command or flags

AI Skills
Get

csharp-nunit FAQ

Which packages does it use?

Microsoft.NET.Test.Sdk, NUnit and NUnit3TestAdapter, in a separate test project.

How are test methods named?

In the form MethodName_Scenario_ExpectedBehavior.

Does it cover data-driven tests?

Yes. It covers standard and data-driven testing.

How do I install it?

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

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-nunit alternatives?

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

Developer Stuff

Badges