feat: allow supplying options on cli tool#422
feat: allow supplying options on cli tool#422souradeep-das wants to merge 1 commit intoboxed:mainfrom
Conversation
|
I don't think this is a good idea. Mutmut 2 had it and I consider that a mistake. |
|
Thanks for the feedback! Any particular context/reasons why this could be bad? |
|
Just that the conf is annoying to get right and then you forget about it and your life sucks :) And it won't work with the interactive UI either. |
|
How would you recommend filtering out tests? Some of ours run extremely long and aren't really necessary to run for every mutation. |
|
Ideally you would keep the mutations directory between runs, and then mutmut will automatically know which mutants to check. You can also set the stack depth to something lower to make it accept fewer tests. |
|
Sorry, not sure I follow. If I have a test function, @pytest.mark.slow
def test_really_really_long_running():
... |
|
#423 see the discussion there. Options in the config makes sense to me. |
Overview
Allow supplying paths-to-mutate (as comma separated values), tests-dir, and debug 'options' through the cli tool
Example: