Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gremlins can't detect coverage on Windows #222

Open
k3rn31 opened this issue Jan 5, 2024 Discussed in #221 · 0 comments
Open

Gremlins can't detect coverage on Windows #222

k3rn31 opened this issue Jan 5, 2024 Discussed in #221 · 0 comments
Labels
c/bug Category: A issue or PR related to a bug

Comments

@k3rn31
Copy link
Member

k3rn31 commented Jan 5, 2024

Discussed in #221

Originally posted by th12br January 3, 2024
Hi!

My project (on a Windows machine) has a pretty good test coverage, but gremlins can't detect any tests.

> go test ./...
runs all tests properly

> gremlins unleash
in the same directory runs for a while and comes back with:

Mutation testing completed in 421 milliseconds 370 microseconds
Killed: 0, Lived: 0, Not covered: 551
Timed out: 0, Not viable: 0, Skipped: 0
Test efficacy: 0.00%
Mutator coverage: 0.00%

The configuration is:

silent: false
unleash:
integration: false
dry-run: false
tags: ''
output: 'output.json'
workers: 1
test-cpu: 0
timeout-coefficient: 0
threshold:
efficacy: 0
mutant-coverage: 0

mutants:
arithmetic-base:
enabled: true
conditionals-boundary:
enabled: true
conditionals-negation:
enabled: true
increment-decrement:
enabled: true
invert-assignments:
enabled: false
invert-bitwise:
enabled: false
invert-bwassign:
enabled: false
invert-negatives:
enabled: true
invert-logical:
enabled: false
invert-loopctrl:
enabled: false
remove-self-assignments:
enabled: false

I checked Gremlins' source code but couldn't find any hint.

Cheers,
Thomas

@k3rn31 k3rn31 added the c/bug Category: A issue or PR related to a bug label Jan 5, 2024
@k3rn31 k3rn31 changed the title Gremlins can't detect coverage Gremlins can't detect coverage on Windows Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/bug Category: A issue or PR related to a bug
Projects
None yet
Development

No branches or pull requests

1 participant