summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2024-02-07 21:09:20 -0500
committerTres Seaver <tseaver@palladion.com>2024-02-07 21:09:20 -0500
commitfea81c0cf25402c7088b002be7a1672d29841345 (patch)
treec0244a2971d7fead848359f3d83fe158f8b509ad
parentd3987fc46c2a52eb7521bb4849c375751ac9ecad (diff)
downloadpyramid-fea81c0cf25402c7088b002be7a1672d29841345.tar.gz
pyramid-fea81c0cf25402c7088b002be7a1672d29841345.tar.bz2
pyramid-fea81c0cf25402c7088b002be7a1672d29841345.zip
docs: fold in 'Installing' language from the 'wiki2' refresh (PR #3747)
-rw-r--r--docs/tutorials/wiki/installation.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/installation.rst b/docs/tutorials/wiki/installation.rst
index e83e83861..4dc732aca 100644
--- a/docs/tutorials/wiki/installation.rst
+++ b/docs/tutorials/wiki/installation.rst
@@ -290,9 +290,11 @@ Test and coverage cookiecutter defaults
---------------------------------------
The Pyramid cookiecutter includes configuration defaults for ``pytest`` and test coverage.
-These configuration optionas are defined in stanzas of the ``pyroject.toml`` file.
+The configuration for ``pytest`` is in the ``pyroject.toml`` file in the ``tool.pytest.ini_options`` stanza.
+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 the ``[tool.coverage.run]`` stanza of ``pyproject.toml``.
-The ``tool.pytest.ini_options`` stanza follows :ref:`conventions for Python test discovery <pytest:test discovery>`.
+``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:
.. literalinclude:: src/installation/pyproject.toml