#2776 closed task (fixed)
add `[test]` "extra" to pull in testing-only dependencies
Reported by: | warner | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | packaging | Version: | 1.11.0 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
I'm seeing other projects declare the dependencies that they only need for testing (like py.test, coverage, and mock) by using a [test] extra. So things like .travis.yml and tox.ini will use:
deps = .[test]
I'm thinking we should add this to Tahoe.
Our docs (for setting up a virtualenv for hacking) will need to mention pip install -e .[test] instead of just pip install -e ..
This will make it easier to include modern testing facilities like mock.
Change History (3)
comment:1 Changed at 2016-04-12T19:39:01Z by warner
comment:2 Changed at 2016-04-12T20:12:21Z by Brian Warner <warner@…>
- Resolution set to fixed
- Status changed from new to closed
In 23f871a/trunk:
comment:3 Changed at 2016-04-12T21:33:11Z by Brian Warner <warner@…>
In c97e852/trunk:
Note: See
TracTickets for help on using
tickets.
Implemented in PR257