Closed EdgyEdgemond closed 3 months ago
This is already biting on test suites that take 10-15 seconds, testing 100+ mutations is painful.
On other code bases with test suites in the minute range and any number of mutations its just not viable to run.
You can specify the full command line in the runner
flag. I recently did this for my own work code base:
setup.cfg
:
[mutmut]
paths_to_mutate=dryft/planning/scheduling.py
runner=python -m pytest dryft/planning/scheduling__tests.py
Solves my problem.
I have some large code bases that would be nice to try mutmut on, but as the test runs aren't quick, running them for all mutations is prohibitive. I can limit the tests down to a subset, but where I have a one to one mapping
test_module.py
andmodule.py
it would be nice to be able to runmutmut run --paths-to-mutate src/module.py --test-file tests/test_module.py
Apologies if this is somehow possible, but trying to point test-dir at a specific file still appears to run all tests.