In questa puntata parlo di contract testing per API .NET e di come evitare quei breaking change che scopriamo solo dopo il deploy. Ti racconto in modo pratico cos’è un contract test, quando usarlo rispetto a integration ed E2E, e confronto due approcci concreti: Pact (Consumer-Driven Contracts) e test basati su OpenAPI.
- https://github.com/pact-foundation/pact-net
- https://pact.io/
- https://devblogs.microsoft.com/ise/pact-contract-testing-because-not-everything-needs-full-integration-tests/
- https://pactflow.io/blog/what-is-contract-testing/
#dotnet #dotnetdeveloper #webapi #restapi #contracttesting #pact #pactnet #openapi #swagger #microservices #csharp #softwarearchitecture #ci #cicd #devops #backenddeveloper #podcast #dotnetinpillole