logoalt Hacker News

Garlef • today at 4:41 PM • 2 replies • view on HN

I think mutation testing is a great, great technique ~ But it takes a very long time to run!

(At least that was my experience with ts/js and stryker in 2021 where i last used it)


Replies

aleksiy123 • today at 5:42 PM

It is I run them outside the normal cicd process as a daily cronjob.

I would say results are mixed.

They do catch real bugs, but also are generally very noisy. Expensive/long to run.

Imo I think mutation and similarly fuzz testing are best applied selectively.

Work best on self contained, complex logic. Parsers, serialises, transforms that kind of thing.

hmartin • today at 5:32 PM

It should get much faster once TS 7.1 comes out with the needed API's!