Contract Testing Made Easy – Mastering Pact for Microservices in C#

Irina Scurtu

View at original site


In a forever-evolving world of microservices, with so many moving parts, we often rely on integration testing to prevent bugs and regressions.

The problem with these tests is that sometimes they become flaky, unreliable, and expensive to maintain and execute, due to the distributed nature of our system.

But what if we could ensure that our system’s components are compatible and can communicate with each other straight from the development phase?

Let’s have a look at what contract testing is and see how it can help us mitigate the risk of integration bugs before running long tests, with examples in C#.

About the Presenter

Irina Scurtu

A Microsoft MVP for Developer Technologies, Software Architect, and Microsoft Certified Trainer, Irina is on a never-ending quest to discover the latest trends and best practices in architecture, .NET, and the world around it.

Irina has delivered more than 1,000 hours of training sessions, workshops, and presentations, where she has shared her passion for .NET and the world surrounding it.

She is the founder of the DotNet Iasi User Group, where she tries to gather people who are willing to share their knowledge with others, and from time to time publishes articles on her blog.

Related Resources

Writing and Running Unit Tests with ReSharper
Writing and Running Unit Tests with ReSharper
Run, debug and profile tests, do continuous testing, and inspect code coverage.
Unit Testing with Rider
Unit Testing with Rider
Learn how Rider can help make sure code behaves as expected, with continuous testing and code coverage.