Advanced Technology Days 19
25/11/2024, CineStar Arena IMAX Zagreb
Zagreb, Croatia
Building Modern and Reliable .NET Solutions Through Integration Testing
dotnet
software-engineering
integration-tests
real-world-scenarios
In today’s fast-paced software landscape, developing reliable solutions goes beyond writing code—it’s about building a robust test suite from the start, maintaining it, and nourishing a wholesome testing culture across the team. In this demo-focused session, we will explore how to craft modern .NET solutions with confidence, leveraging integration tests to ensure stability across database interactions, external and internal services, and business logic.
We will build some complex tests for a rudimental SEO keyword rank tracking solution. You’ll see how integration tests help simulate real-world conditions using tools like database fake data factories and HTTP client interception to mock external APIs. The tools in the discussion will be TestServer, Docker, Moq, Testcontainers, and XUnit (with parallelization) emphasizing how a solid testing culture ensures long-term reliability.
By the end of this session, you’ll understand the importance of starting tests early, how to effectively integrate databases and external services in tests, and how a well-designed testing suite can make your .NET solutions more resilient and maintainable. This is not just a presentation—it's a live demonstration of the power of integration tests in action.
It is never too late to add tests to your codebase, and this presentation will surely encourage or at least inspire you to do so.