← All talks

.NET Conference 2026 · December 2026 · Milano, IT · Upcoming

Do your tests really check anything? Improving them with Stryker.NET and Copilot

it Talk in Italian

A while ago, on a .NET project, a bug sat in production for weeks with high coverage and a green pipeline. The tests ran through the faulty line and still passed, because their data gave the same result with the right code and with the wrong code. Part of that suite had been written by AI agents.

Since then I ask my tests another question: if this line were wrong, would anyone notice? Stryker.NET answers by introducing small defects into the code and showing which ones survive. Each survivor marks a specific spot where the tests don't check enough, and you can hand it to GitHub Copilot as a request.

In the talk we build this loop on a .NET project: Copilot writes the tests, Stryker.NET measures them, the survivors go back to the assistant, and Stryker runs again to confirm the gap is closed. We look at how to read the report, how to recognise mutants that no test can kill, what work is left to the people who know the domain, and how to keep a threshold in CI on the code that changes.

You leave with a method for improving tests, handwritten or generated, and a sense of how far you can trust them.