Commit 63c3e2e1 authored by Jason R. Coombs's avatar Jason R. Coombs

Update tox tests so they run the full suite of tests using the canonical...

Update tox tests so they run the full suite of tests using the canonical technique. Include .tox in norecursedirs to avoid testing all the dependencies and environment. Update docs to reflect findings (https://bitbucket.org/spookylukey/setuptools/commits/88339d2e4af661a60a42bc14c4ff3e68cd19fa21#comment-2558164).
parent 75a571e4
...@@ -94,7 +94,8 @@ The primary tests are run using py.test. To run the tests:: ...@@ -94,7 +94,8 @@ The primary tests are run using py.test. To run the tests::
$ python setup.py test $ python setup.py test
Or install py.test into your environment and run ``py.test``. Or install py.test into your environment and run ``PYTHONPATH=. py.test``
or ``python -m pytest``.
Under continuous integration, additional tests may be run. See the Under continuous integration, additional tests may be run. See the
``.travis.yml`` file for full details on the tests run under Travis-CI. ``.travis.yml`` file for full details on the tests run under Travis-CI.
......
[tox] [tox]
envlist = py26,py27,py31,py32,py33,py34 envlist = py26,py27,py31,py32,py33,py34
[testenv] [testenv]
deps= commands=python setup.py test
pytest
mock
commands=py.test setuptools {posargs}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment