con un clic
skill-c-xunit-expert
Use when creating, reviewing, or refactoring xUnit tests.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Use when creating, reviewing, or refactoring xUnit tests.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Use when generating, reviewing, or updating XML documentation comments for public .NET APIs.
Use when generating, reviewing, refactoring, or optimizing .NET 8 and C# code.
Use when creating, reviewing, or refactoring tests for Entity Framework Core applications.
Use when working with EF Core 8, repositories, transactions, query optimization, and migrations.
Use when implementing or modifying Revit Add-In behavior, external commands, external events, transactions, family handling, and BIM data workflows.
Use when working with SQL Server schema design, query tuning, indexing, transactions, locking, and EF Core SQL Server integration.
Use this skill when creating, reviewing, or refactoring xUnit tests.
Prioritize:
Tests should clearly communicate intent.
Prefer:
Example:
[Fact]
public async Task GetObjectAsync_ObjectExists_ReturnsObject()
{
// Arrange
// Act
// Assert
}
Use:
MethodName_StateUnderTest_ExpectedBehavior
Prefer:
Assert.EqualAssert.NotNullAssert.TrueAssert.FalseAssert.CollectionAssert.ThrowsAsyncUse specific assertions instead of generic boolean assertions whenever possible.
For async methods:
Assert.ThrowsAsync for exceptions..Result or .Wait().Each test must:
Prefer integration tests when validating: