Steve Piercy
2018-10-08 1db3bacaab1f68344806ad91ebb6ab62c06a6788
Replace [test] with [testing], and quote as needed
2 files modified
10 ■■■■ changed files
docs/quick_tutorial/functional_testing.rst 4 ●●●● patch | view | raw | blame | history
docs/quick_tutorial/unit_testing.rst 6 ●●●● patch | view | raw | blame | history
docs/quick_tutorial/functional_testing.rst
@@ -45,11 +45,11 @@
        :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:
docs/quick_tutorial/unit_testing.rst
@@ -54,14 +54,14 @@
    .. 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``: