Skip to content

Mutmut 3.3.0 stalls during mutant generation #412

@CyberiaResurrection

Description

@CyberiaResurrection

Mutmut version: 3.3.0
Python version: 3.9.21
OS: Fedora Linux 41

Repo: https://github.com/makhidkarun/traveller_pyroute

pyproject.toml bits:

[tool.mutmut]
paths_to_mutate = ["PyRoute/Outputs/SubsectorMap.py"]
tests_dir = ["Tests/"]
runner = "pytest -x"

After installing mutmut and launching it with mutmut run, mutmut launches, prints "Generating mutants" and then just sits there until I kill the process, whether a minute or an hour later.

Plain pytest runs to completion, as I thought it might be an issue with pytest config, but it doesn't look like it.

What am I doing wrong?

EDIT:
Setting the paths_to_mutate to ["PyRoute/Outputs/Colour.py"] (which doesn't seem to generate any mutants) resulted in mutant generation being done in 22 milliseconds, stats run being done, clean test run is done, and the forced fail test fails with "FAILED: Unable to force test failures"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions