go-gremlins / gremlins

A mutation testing tool for Go.
https://gremlins.dev
Apache License 2.0
198 stars 18 forks source link

Fixes for windows #229

Closed th12br closed 8 months ago

th12br commented 9 months ago

Proposed changes

1) IsCovered accepts input from the Windows file system by normalizing slashes. 2) The report must be shown even if there was an error, otherwise the user cannot know what's wrong. 3) Windows runs into timeouts for unknown reasons. The executor runs without cancel for now until it's clear why Windows has a problem here.

Types of changes

Checklist

Further comments

With one worker only, it run quite fast:

go run cmd/gremlins/main.go unleash --workers 1 --test-cpu 4

With standard settings it takes much longer and some mutants survive:

go run cmd/gremlins/main.go unleash

Why?

The changed will break one test: I cannot find out why "it recognizes CONDITIONAL_BOUNDARY with GTR" in engine_test.go fails.

k3rn31 commented 8 months ago

I'm closing this for inactivity. Also, the changes proposed are pointless and break core Gremlins' functionalities.