Replace [test] with [testing], and quote as needed
| | |
| | | :emphasize-lines: 14 |
| | | |
| | | #. Install our project and its newly added dependency. |
| | | Note that we use the extra specifier ``[test]`` to install testing requirements. |
| | | Note that we use the extra specifier ``[testing]`` to install testing requirements and surround it with double quote marks. |
| | | |
| | | .. code-block:: bash |
| | | |
| | | $VENV/bin/pip install -e .[test] |
| | | $VENV/bin/pip install -e ".[testing]" |
| | | |
| | | #. Let's extend ``functional_testing/tutorial/tests.py`` to include a functional test: |
| | | |
| | |
| | | .. literalinclude:: unit_testing/setup.py |
| | | :language: python |
| | | :linenos: |
| | | :emphasize-lines: 11-15 |
| | | :emphasize-lines: 11-16, 21-23 |
| | | |
| | | #. Install our project and its newly added dependency. |
| | | Note that we use the extra specifier ``[test]`` to install testing requirements. |
| | | Note that we use the extra specifier ``[testing]`` to install testing requirements and surround it with double quote marks. |
| | | |
| | | .. code-block:: bash |
| | | |
| | | $VENV/bin/pip install -e .[test] |
| | | $VENV/bin/pip install -e ".[testing]" |
| | | |
| | | #. Now we write a simple unit test in ``unit_testing/tutorial/tests.py``: |
| | | |