File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,15 @@ In `setup.cfg` in the root of your project you can configure mutmut if you need
9090
9191 [mutmut]
9292 paths_to_mutate =src/
93- tests_dir =tests/
93+ pytest_add_cli_args_test_selection =tests/
9494
9595 If you use `pyproject.toml `, you must specify the paths as array in a `tool.mutmut ` section:
9696
9797.. code-block :: toml
9898
9999 [tool.mutmut]
100100 paths_to_mutate = [ "src/" ]
101- tests_dir = [ "tests/" ]
101+ pytest_add_cli_args_test_selection = [ "tests/" ]
102102
103103 See below for more options for configuring mutmut.
104104
@@ -206,7 +206,7 @@ You can add and override pytest arguments:
206206.. code-block :: python
207207
208208 # for CLI args that select or deselect tests, use `pytest_add_cli_args_test_selection`
209- pytest_add_cli_args_test_selection = [ " -m" , " not fail" , " -k=test_include" ]
209+ pytest_add_cli_args_test_selection = [" -m" , " not fail" , " -k=test_include" ]
210210
211211 # for other CLI args, use `pytest_add_cli_args`
212212 pytest_add_cli_args = [" -p" , " no:some_plugin" ] # disable a plugin
You can’t perform that action at this time.
0 commit comments