Skip to content

Gremlins can't detect coverage on Windows #222

@k3rn31

Description

@k3rn31

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/bugCategory: A issue or PR related to a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions