summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2024-02-07 18:01:24 -0700
committerMichael Merickel <michael@merickel.org>2024-02-07 18:01:24 -0700
commita31db999eaecb393b1d0c10058b1d43be076a4f6 (patch)
treef8dfbe9639364a57cf2eed836d3031f168115906
parent85e9b2af7d9fa19ec70a21e6ca27498389e19ba3 (diff)
downloadpyramid-a31db999eaecb393b1d0c10058b1d43be076a4f6.tar.gz
pyramid-a31db999eaecb393b1d0c10058b1d43be076a4f6.tar.bz2
pyramid-a31db999eaecb393b1d0c10058b1d43be076a4f6.zip
fix pytest / coverage references
-rw-r--r--docs/tutorials/wiki2/installation.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/installation.rst b/docs/tutorials/wiki2/installation.rst
index 072625f80..238e00b2a 100644
--- a/docs/tutorials/wiki2/installation.rst
+++ b/docs/tutorials/wiki2/installation.rst
@@ -372,7 +372,9 @@ Test and coverage cookiecutter defaults
---------------------------------------
The Pyramid cookiecutter includes configuration defaults for ``pytest`` and test coverage.
-These configuration files are ``pytest.ini`` and ``.coveragerc``, located at the root of your package.
+The configuration for ``pytest`` is in the ``pyproject.toml`` file in the ``[tool.pytest.ini_options]`` section.
+Coverage is checked using the ``pytest-cov`` plugin, a wrapper around the `Coverage <https://coverage.readthedocs.io/en/latest/index.html>`_ tool.
+Options affecting coverage are defined in ``[tool.coverage.run]``.
``pytest`` follows :ref:`conventions for Python test discovery <pytest:test discovery>`.
The configuration defaults from the cookiecutter tell ``pytest`` where to find the module on which we want to run tests and coverage.