File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,13 +199,10 @@ but here is a simple overview:
199199 You need to have Python 2.7 and 3.5 available in your system. Now
200200 running tests is as simple as issuing this command::
201201
202- $ python3 runtox.py -e linting,py27,py35
202+ $ tox -e linting,py27,py35
203203
204204 This command will run tests via the "tox" tool against Python 2.7 and 3.5
205- and also perform "lint" coding-style checks. ``runtox.py `` is
206- a thin wrapper around ``tox `` which installs from a development package
207- index where newer (not yet released to PyPI) versions of dependencies
208- (especially ``py ``) might be present.
205+ and also perform "lint" coding-style checks.
209206
210207#. You can now edit your local working copy.
211208
@@ -214,11 +211,11 @@ but here is a simple overview:
214211 To run tests on Python 2.7 and pass options to pytest (e.g. enter pdb on
215212 failure) to pytest you can do::
216213
217- $ python3 runtox.py -e py27 -- --pdb
214+ $ tox -e py27 -- --pdb
218215
219216 Or to only run tests in a particular test module on Python 3.5::
220217
221- $ python3 runtox.py -e py35 -- testing/test_config.py
218+ $ tox -e py35 -- testing/test_config.py
222219
223220#. Commit and push once your tests pass and you are happy with your change(s)::
224221
Original file line number Diff line number Diff line change @@ -11,22 +11,23 @@ include setup.py
1111
1212include .coveragerc
1313
14- include plugin-test.sh
15- include requirements-docs.txt
16- include runtox.py
17-
1814recursive-include bench *.py
1915recursive-include extra *.py
2016
2117graft testing
2218graft doc
19+ prune doc/en/_build
2320
2421exclude _pytest/impl
2522
2623graft _pytest/vendored_packages
2724
2825recursive-exclude * *.pyc *.pyo
26+ recursive-exclude testing/.hypothesis *
27+ recursive-exclude testing/freeze/~ *
28+ recursive-exclude testing/freeze/build *
29+ recursive-exclude testing/freeze/dist *
2930
30- exclude appveyor/install.ps1
3131exclude appveyor.yml
32- exclude appveyor
32+ exclude .travis.yml
33+ prune .github
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ def main():
7272 entry_points = {'console_scripts' :
7373 ['pytest=pytest:main' , 'py.test=pytest:main' ]},
7474 classifiers = classifiers ,
75+ keywords = "test unittest" ,
7576 cmdclass = {'test' : PyTest },
7677 # the following should be enabled for release
7778 install_requires = install_requires ,
Original file line number Diff line number Diff line change @@ -47,9 +47,13 @@ commands= pytest --genscript=pytest1
4747
4848[testenv:linting]
4949basepython = python2.7
50- deps = flake8
50+ deps =
51+ flake8
5152 restructuredtext_lint
52- commands = flake8 pytest.py _pytest testing
53+ check-manifest
54+ commands =
55+ check-manifest
56+ flake8 pytest.py _pytest testing
5357 rst-lint CHANGELOG.rst HOWTORELEASE.rst
5458
5559[testenv:py27-xdist]
You can’t perform that action at this time.
0 commit comments