Programmatically declare test dependencies.
This can be used e.g. 'pip install -e .[test]' Change-Id: I51c0411af37ab2c43d068d22f0e3473dd958c7ba
This commit is contained in:
@@ -55,6 +55,9 @@ methods are implemented. However, when writing tests for testtools itself, it
|
|||||||
is often useful to see all levels of the stack. To do this, add
|
is often useful to see all levels of the stack. To do this, add
|
||||||
``run_tests_with = FullStackRunTest`` to the top of a test's class definition.
|
``run_tests_with = FullStackRunTest`` to the top of a test's class definition.
|
||||||
|
|
||||||
|
To install all the test dependencies, install the ``test`` extra::
|
||||||
|
|
||||||
|
pip install e .[test]
|
||||||
|
|
||||||
Discussion
|
Discussion
|
||||||
----------
|
----------
|
||||||
|
|||||||
@@ -9,6 +9,11 @@ classifier =
|
|||||||
License :: OSI Approved :: MIT License
|
License :: OSI Approved :: MIT License
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
|
|
||||||
|
[extras]
|
||||||
|
test =
|
||||||
|
fixtures
|
||||||
|
unittest2>=1.1.0
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
packages = testtools
|
packages = testtools
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user