controllers-testing

Automate verification of ASP.NET Core controller endpoints against contracts and expected behavior.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/SergeuMatyasov/dotnet-shared-skills --skill controllers-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: controllers-testing
Source: https://github.com/SergeuMatyasov/dotnet-shared-skills/tree/main/controllers-testing
Command: npx skills add https://github.com/SergeuMatyasov/dotnet-shared-skills --skill controllers-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Используйте этот навык для проверки ASP.NET Core контроллеров на соответствие контракту и ожидаемому поведению через unit, compatibility и regression тесты.

Core Features & Use Cases

  • Обеспечение тестирования измененных endpoints на позитивные и негативные сценарии.
  • Проверка совместимости между клиентскими сценариями и контрактами.
  • Поддержка регрессионного тестирования после изменений в контроллере.

Quick Start

Запустите этот навык, чтобы проверить актуальные изменённые endpoints на соответствие контрактам и поведению.

Frequently Asked Questions about controllers-testing

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

FAQPage Schema
How do I test ASP.NET Core controller endpoints against API contracts?

To test ASP.NET Core controller endpoints against API contracts, you automate verification using unit, compatibility, and regression tests. This ensures changed endpoints match expected behavior, covering success scenarios, negative cases, and status codes.

What is regression testing for ASP.NET Core controller changes?

Regression testing for ASP.NET Core controllers verifies that endpoint changes do not break existing client scenario compatibility. It applies automated checks across API versions to assess regression risks and ensure contract safety.

How do I verify CancellationToken forwarding in ASP.NET Core controller tests?

Verifying CancellationToken forwarding in ASP.NET Core controller tests involves specifying test coverage requirements that check if endpoints properly forward cancellation tokens. This is part of applying automated verification to expected endpoint behavior.

Does ASP.NET Core contract testing cover negative scenarios and error status codes?

Yes, ASP.NET Core contract testing covers negative scenarios and error status codes. The automated verification specifies test coverage requirements for both success and negative tests per endpoint to ensure expected behavior.

When do I need to run compatibility checks for ASP.NET Core API migrations?

You need to run compatibility checks for ASP.NET Core API migrations when modifying endpoints or versions. This verifies client scenario compatibility and assesses regression risks across API versions to maintain contract safety.

What are the limitations of automated controller contract testing in ASP.NET Core?

Automated controller contract testing in ASP.NET Core is limited to verifying endpoint behavior, status codes, and CancellationToken forwarding. It focuses on regression risk assessment and compatibility checks, requiring specified test coverage requirements per endpoint.