Skip to content
Myr

update test docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent a158abf · Browse files · 1 file+14 added−15 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+14 added−15 removed

  • other:+14 added−15 removed

1 file+14 added−15 removed

modified:docs/dev/todo.rst+14 added-15 removed
13 unmodified lines
1415Development dependencies16------------------------1718You'll need to install ``gunicorn`` and ``httpbin`` and various other dependencies in19order to run requests' test suite::18You'll need to install py.test in order to run the Requests' test suite::1921 $ virtualenv env22 $ . env/bin/activate23 $ make20 $ make test-deps21 $ make test22 py.test23 platform darwin -- Python 2.7.3 -- pytest-2.3.424 collected 25 items2526The ``Makefile`` has various useful targets for testing. For example, if you 27want to see how your pull request will behave with Travis-CI you would run 28``make travis``.26 test_requests.py .........................27 25 passed in 3.50 seconds2830Versions of Python to Test On31-----------------------------29Versions of Python30------------------3133Officially (as of 26-Nov-2012), requests supports python 2.6-3.3. In the 34future, support for 3.1 and 3.2 may be dropped. In general you will need to 35test on at least one python 2 and one python 3 version. You can also set up 36Travis CI for your own fork before you submit a pull request so that you are 37assured your fork works. To use Travis CI for your fork and other projects see 32Officially (as of 26-Nov-2012), requests supports python 2.6-3.3. In the33future, support for 3.1 and 3.2 may be dropped. In general you will need to34test on at least one python 2 and one python 3 version. You can also set up35Travis CI for your own fork before you submit a pull request so that you are36assured your fork works. To use Travis CI for your fork and other projects see37their `documentation <http://about.travis-ci.org/docs/user/getting-started/>`_.3839What Needs to be Done40---------------------
2 unmodified lines