7

Who is testing your tests? by Hugo van Ryswyk

 2 years ago
source link: https://www.signifytechnology.com/blog/2021/04/who-is-testing-your-tests-by-hugo-van-ryswyk
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How good are your tests?

Find out using mutation testing! Hugo van Ryswyk showed us how at Scala Love in the City Conference.

Who is testing your tests?

Curious to know how good your tests are? There’s an easy way to find out: use mutation testing!

Most of us use code coverage to measure how effective our tests are. But what does code coverage really mean? How many times have you seen a test with a missing assertion or even assertions in comments? This is where mutation testing will help you. A mutation testing framework inserts small bugs into your code, hoping that your tests can spot them.

In this talk, you will learn the basics of mutation testing, and how you can use it in your Scala projects with Stryker4s, the mutation testing framework for Scala.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK