108. Stryker: Improving Your Unit Tests

Content type
Video

108. Stryker: A Powerful Tool for Improving Your Unit Tests

Yvo and Bram discuss Stryker, a tool for mutation testing that can help improve unit tests. They introduce Stryker and explain that it’s a framework capable of mutating code during testing to identify gaps in test coverage. Yvo demonstrates a sample project, installs Stryker, and runs it on the existing unit tests. The report generated by Stryker reveals several surviving mutants, indicating missing test cases. They discuss the benefits of using Stryker, such as uncovering missed tests that traditional code coverage metrics might not detect, and the importance of integrating it into the development workflow, potentially as a periodic quality check.

Links for more information:

More videos

Stay up to date with our Betatalks and tech updates!

Sign up and receive a biweekly update with the latest knowledge and developments.