From fea81c0cf25402c7088b002be7a1672d29841345 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 7 Feb 2024 21:09:20 -0500 Subject: docs: fold in 'Installing' language from the 'wiki2' refresh (PR #3747) --- docs/tutorials/wiki/installation.rst | 6 ++++-- 1 file 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 `_ 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`` follows :ref:`conventions for Python 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 -- cgit v1.2.3