Questions tagged [mutmut]

mutation testing tool for python

Links

4 questions
2
votes
0 answers

`mutmut` Stops Running After About 100 Mutants

I'm posting this here to help out mutmut's dev solve this issue, because he doesn't know how to fix it yet. The issue has already been logged here. Basically, what happens is that when you run mutmut and tell it to run Mutation Tests for your…
2
votes
1 answer

Can I disable string mutation in mutmut?

I used mutmut yesterday to evaluate the unit test quality of some of my projects. I tried cosmic-ray before, but it was unusable (bugs, performance). I also tried mut.py, but I also couldn't get that one startd. One issue when using mutmut I found…
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
1
vote
1 answer

Fixing mutations done on python's @staticmethod declaration

I have this class static method in python 3, with necessary test code example.py: class ExampleClass{ ... @staticmethod def get_new_id: str, id: str): return { "new_id": "{}_{}_{}".format( …
A.Lopez
  • 53
  • 7
0
votes
0 answers

Wht python package "mutmut" doesn't work with and command "mutmut results" returns error?

Good day. I have a problem with mutmut package. I have installed "mutmut" and create config.cfg [mutmut] paths_to_mutate=some_path/to/folder tests_dir=some_path/to/folder/tests After I run "mutmut run" I have message, that there are 65 mutants…