Mutation Testing in Haskell

11 Likes

That’s very nice! I wanted mutation testing in Haskell for years!

What’s the underlying mechanism of mutation? Do you mutate source code and recompile it somehow?

2 Likes

not a FOSS license tho..

2 Likes

There’s a GHC plugin that compiles all the mutations into the same binary so that you still only need to compile once. The mutations are then activated one-by-one at runtime by the mutation engine.

1 Like