testing

Standardizes .NET testing with xUnit, Moq, SpecFlow, and CI/CD workflows.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/diegoknsk/video-processing-engine-video-management-lambda --skill testing-diegoknsk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/diegoknsk/video-processing-engine-video-management-lambda/tree/main/.cursor/skills/testing
Command: npx skills add https://github.com/diegoknsk/video-processing-engine-video-management-lambda --skill testing-diegoknsk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guia para testes (unitários, BDD, integração), cobertura, build e qualidade. Use quando a tarefa envolver testes, xUnit, MoQ, SpecFlow, cobertura, mutation testing ou validação de build.

Core Features & Use Cases

  • Orienta a prática de testes padronizados (AAA)
  • Abrange unitários, integração e BDD com ferramentas como xUnit, MoQ, SpecFlow
  • Define padrões de cobertura e critérios de qualidade para pipelines CI/CD

Quick Start

Execute os testes usando dotnet test e configure a coleta de cobertura para alcançar metas de qualidade.

Frequently Asked Questions about testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure unit tests in .NET using the AAA pattern with xUnit and Moq?

Structure unit tests using the AAA pattern by arranging data, acting on methods, and asserting outcomes with xUnit and fluent assertions, while using Moq to isolate dependencies and verify interactions.

What is behavior-driven development testing and how does SpecFlow integrate with .NET projects?

Behavior-driven development testing defines application behavior in human-readable scenarios, and SpecFlow integrates these specifications into .NET projects to automate acceptance testing and validate business requirements.

How do I collect test coverage and configure quality gates in a .NET CI/CD pipeline?

Collect test coverage by running dotnet test with coverage tools, then configure CI/CD pipelines to enforce quality gates that validate coverage targets and block builds when thresholds are not met.

Can I use mutation testing to validate the effectiveness of my .NET test suites?

Mutation testing validates test suites by injecting faults into code to verify tests detect them, complementing standard coverage metrics to ensure your .NET tests check logic rather than just executing lines.

When should I use integration testing versus unit testing in my .NET application?

Use integration testing to verify data flow and component interaction across subsystem boundaries, while unit testing isolates individual logic units with mocks to ensure internal correctness and rapid feedback.