oct
Loading...
Searching...
No Matches
runner.py File Reference

Go to the source code of this file.

Classes

class  oct.mutation.runner.MutantOutcome
class  oct.mutation.runner.RunReport

Namespaces

namespace  oct
namespace  oct.mutation
namespace  oct.mutation.runner

Functions

list[str] oct.mutation.runner._pytest_argv (Path tests)
tuple[int|None, float] oct.mutation.runner._run_tests (Path tests, Path cwd, int timeout, Path pycache_dir)
float oct.mutation.runner._verify_baseline (Path tests, Path cwd, int timeout, Path pycache_dir)
RunReport oct.mutation.runner.run_mutants (*, str|Path target, str|Path tests, int timeout=DEFAULT_TIMEOUT_SECONDS, str|Path|None root=None, Sequence[str]|None mutant_ids=None, Callable[[str], None]|None on_progress=None)
list[Mutant] oct.mutation.runner._select (list[Mutant] mutants, Sequence[str]|None mutant_ids)
list[MutantOutcome] oct.mutation.runner._run_each (Iterable[Mutant] mutants, Path target, Path tests, Path repo_root, str relpath, int timeout, Path cache_dir, Callable[[str], None] report_progress)
str oct.mutation.runner._classify (int|None returncode)

Variables

str oct.mutation.runner.STATUS_KILLED = "killed"
str oct.mutation.runner.STATUS_SURVIVED = "survived"
str oct.mutation.runner.STATUS_TIMEOUT = "timeout"
int oct.mutation.runner._PYTEST_NO_TESTS_COLLECTED = 5
int oct.mutation.runner.DEFAULT_TIMEOUT_SECONDS = 60