Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

NUnit Best Practices

porgithub·github· v1.0.0 · atualizado em 2026-04-10
80
Score

Get best practices for NUnit unit testing, including data-driven tests

nunitunit-testingcsharptest-automationdata-driven-testingtest-best-practices
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdcsharp-nunit/workflow
1. Set up a separate test project with the naming convention `[ProjectName].Tests`.
2. Reference the necessary NuGet packages: `Microsoft.NET.Test.Sdk`, `NUnit`, and `NUnit3TestAdapter`.
3. Create test classes that match the classes being tested (e.g., `CalculatorTests` for `Calculator`).
4. Apply the `[TestFixture]` attribute to test classes and the `[Test]` attribute to test methods.
5. Follow the Arrange-Act-Assert (AAA) pattern in your test methods.
6. Use `Assert.That` with the constraint model for assertions.
7. Implement data-driven tests using `[TestCase]` or `[TestCaseSource]`.
8. Organize tests by feature or component using categories with `[Category("CategoryName")]`.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Compõe comTUnit Best Practices
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
82
Compõe comXUnit Best Practices
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe com ←MSTest Best Practices (MSTest 3.x/4.x)
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
79
Compõe com ←XUnit Best Practices
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar aAPI Test Generator
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
88
Similar aTest Data Generator
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar aASP.NET Minimal API with OpenAPI
40%
Hebbian Synapse
Composite0.400
w = 0.3·α + 0.5·β + 0.2·γ
79
Co-executedTest Data Generator
49%
Hebbian Synapse
Composite0.485
w = 0.3·α + 0.5·β + 0.2·γ
83
Co-executedTUnit Best Practices
48%
Hebbian Synapse
Composite0.478
w = 0.3·α + 0.5·β + 0.2·γ
82
Co-executedXUnit Best Practices
50%
Hebbian Synapse
Composite0.496
w = 0.3·α + 0.5·β + 0.2·γ
83
Co-executed ←MSTest Best Practices (MSTest 3.x/4.x)
48%
Hebbian Synapse
Composite0.478
w = 0.3·α + 0.5·β + 0.2·γ
79

Árvore do Skill

NUnit Best Practices
csharp-nunit
Fases Cognitivas5
1.SENSE
2.CONTEXTUALIZE
3.RECOMMEND
4.ACT
5.REFLECT
Triggers8
write NUnit testsget NUnit best practicescreate data-driven tests in NUnitimprove my NUnit testingset up an NUnit test projectuse NUnit for unit testingstructure NUnit testswrite assertions in NUnit

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança48%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download csharp-nunit
$ synaptic skills detail csharp-nunit
$ synaptic skills live csharp-nunit

Dependências

Microsoft.NET.Test.SdkNUnitNUnit3TestAdapterMoqNSubstitute

Links

GitHub Repository