Skip to content

Commit 547a5b2

Browse files
committed
Document pytest_add_cli_args_test_selection instead of tests_dir
1 parent fad78fd commit 547a5b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)