https://github.com/bios-marcel/presentation_go_mutationtests
Example of mutation tests in go (using ooze)
https://github.com/bios-marcel/presentation_go_mutationtests
go golang gophers mutation-testing ooze presentation
Last synced: 12 months ago
JSON representation
Example of mutation tests in go (using ooze)
- Host: GitHub
- URL: https://github.com/bios-marcel/presentation_go_mutationtests
- Owner: Bios-Marcel
- Created: 2023-09-24T14:34:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T19:07:49.000Z (over 2 years ago)
- Last Synced: 2025-02-23T16:06:45.611Z (12 months ago)
- Topics: go, golang, gophers, mutation-testing, ooze, presentation
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Presentation regarding "Mutation Testing In Go"
This repository contains a presentation regarding "Mutation Testing In Go" and
the source code used in the examples.
## Run Tests
Standard tests can be run just like you are used to:
```shell
go test ./...
```
Mutation tests can be run via a specific tag, to avoid always running them:
```shell
go test -tags mutation ./...
```
## View Presentation
The presentation is located at [SLIDES.md](/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`.
## Windows
To run this example on windows, you need to get a special fork of ooze first.
```shell
git clone --branch temp_win_support git@github.com:Bios-Marcel/ooze.git
```
The [go.mod](/go.mod) reference `../ooze`, so make sure to clone / move into
the right spot.