This repository contains a presentation regarding "Mutation Testing In Go" and the source code used in the examples.
Standard tests can be run just like you are used to:
go test ./...
Mutation tests can be run via a specific tag, to avoid always running them:
go test -tags mutation ./...
The presentation is located at SLIDES.md and can be viewed via
any text editor, as it is markdown. However, it is a reveal.js slide and can
be viewed as such. I recommend simply using the VSCode extension
evilz.vscode-reveal
.
To run this example on windows, you need to get a special fork of ooze first.
git clone --branch temp_win_support git@github.com:Bios-Marcel/ooze.git
The go.mod reference ../ooze
, so make sure to clone / move into
the right spot.