diff options
| author | Tres Seaver <tseaver@palladion.com> | 2024-02-07 12:24:11 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2024-02-07 12:24:11 -0500 |
| commit | 94d5ce60c783eed483d2fff49a6470b066430bfb (patch) | |
| tree | ac81f7577d873d1f667c34148cb6764865290720 /docs/tutorials/wiki/tests.rst | |
| parent | 13909fa1c603028109039e48af096ac4676a0010 (diff) | |
| download | pyramid-94d5ce60c783eed483d2fff49a6470b066430bfb.tar.gz pyramid-94d5ce60c783eed483d2fff49a6470b066430bfb.tar.bz2 pyramid-94d5ce60c783eed483d2fff49a6470b066430bfb.zip | |
docs: update ZODB wiki tutorial to cookiecutter
- Describe 'pyproject.toml' usage (replacing 'setup.py', 'pytest.ini',
'.coveragerc').
- Document the new PyPA-blessed build process.
Diffstat (limited to 'docs/tutorials/wiki/tests.rst')
| -rw-r--r-- | docs/tutorials/wiki/tests.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
