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

TUnit Best Practices

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

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

tunitunit-testingdotnetcsharptest-automationdata-driven-testing
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdcsharp-tunit/workflow
1. Set up a separate test project referencing TUnit and TUnit.Assertions.
2. Create test classes matching the classes being tested.
3. Use the `[Test]` attribute for test methods and follow the Arrange-Act-Assert (AAA) pattern.
4. Implement standard tests using TUnit's fluent assertion syntax.
5. Implement data-driven tests using `[Arguments]`, `[MethodData]`, or `[ClassData]` attributes.
6. Utilize lifecycle hooks like `[Before(Test)]` and `[After(Test)]` for setup and teardown.
7. Run tests using `dotnet test` and analyze the results.
8. Refactor tests based on feedback and maintainability.

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 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 ←NUnit Best Practices
80%
Hebbian Synapse
Composite0.800
w = 0.3·α + 0.5·β + 0.2·γ
80
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
48%
Hebbian Synapse
Composite0.478
w = 0.3·α + 0.5·β + 0.2·γ
83
Co-executedXUnit Best Practices
50%
Hebbian Synapse
Composite0.501
w = 0.3·α + 0.5·β + 0.2·γ
83
Co-executed ←MSTest Best Practices (MSTest 3.x/4.x)
51%
Hebbian Synapse
Composite0.508
w = 0.3·α + 0.5·β + 0.2·γ
79
Co-executed ←NUnit Best Practices
48%
Hebbian Synapse
Composite0.478
w = 0.3·α + 0.5·β + 0.2·γ
80

Árvore do Skill

TUnit Best Practices
csharp-tunit
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.RECOMMEND
5.ACT
6.REFLECT
Triggers7
write unit tests with TUnituse TUnit for data-driven testsget TUnit best practicesset up a TUnit test projectmigrate from xUnit to TUnitrun TUnit tests in paralleluse TUnit lifecycle hooks

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-tunit
$ synaptic skills detail csharp-tunit
$ synaptic skills live csharp-tunit

Dependências

TUnitTUnit.Assertions

Links

GitHub Repository