From 94d5ce60c783eed483d2fff49a6470b066430bfb Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 7 Feb 2024 12:24:11 -0500 Subject: docs: update ZODB wiki tutorial to cookiecutter - Describe 'pyproject.toml' usage (replacing 'setup.py', 'pytest.ini', '.coveragerc'). - Document the new PyPA-blessed build process. --- docs/tutorials/wiki/tests.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/tutorials/wiki/tests.rst') diff --git a/docs/tutorials/wiki/tests.rst b/docs/tutorials/wiki/tests.rst index 231945c9a..f9359dd38 100644 --- a/docs/tutorials/wiki/tests.rst +++ b/docs/tutorials/wiki/tests.rst @@ -28,7 +28,7 @@ The harness consists of the following setup: - ``testing.ini`` - a mirror of ``development.ini`` and ``production.ini`` that contains settings used for executing the test suite. Most importantly, it contains the database connection information used by tests that require the database. -- ``tests_require`` in ``setup.py`` - controls the dependencies installed when testing. +- ``project.optional-dependencies`` in ``pyproject.toml`` - controls the dependencies installed when testing. When the list is changed, it is necessary to re-run ``$VENV/bin/pip install -e ".[testing]"`` to ensure the new dependencies are installed. - ``tests/conftest.py`` - the core fixtures available throughout our tests. -- cgit v1.2.3