Skip to content

Mutants not tested with pythonpath or sys.path.append #416

@CyberiaResurrection

Description

@CyberiaResurrection

Mutmut version: 22f3924
Python version: 3.9.21
OS: Fedora Linux 41

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

pyproject.toml bits:

paths_to_mutate = ["PyRoute/"]
tests_dir = ["Tests/"]
also_copy = ["Tests/", "PyRoute/Pathfinding/*.so"]
runner = "pytest -x"

After getting past #415 , I'm now actually getting mutants to run, but:

⠼ Generating mutants
    done in 44193ms
⠇ Listing all tests 
⠼ Running clean tests
    done
⠧ Running forced fail test
    done
Running mutation testing
⠴ 30097/30097  🎉 0 🫥 30097  ⏰ 0  🤔 0  🙁 0  🔇 0
0.00 mutations/second

no mutants are actually being tested.
I'm not sure how this case differs from #351 , but the following are things I can find:

  1. mutants/ directory not committed to git.
  2. Tests/ directory is not being mutated.
  3. In the branch I'm working in, I've removed PyRoute. from imports, across both code and tests.
  4. Forced-fail testing runs clean.

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