mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-23 12:23:47 +00:00
allow running individual tests via tox, e.g. «tox -e trunk -- scrapy.tests.test_spider»
This commit is contained in:
parent
f18ac02987
commit
b15df73a0f
6
tox.ini
6
tox.ini
@ -17,7 +17,7 @@ deps =
|
||||
mock
|
||||
mitmproxy
|
||||
commands =
|
||||
trial scrapy
|
||||
trial {posargs:scrapy}
|
||||
|
||||
[testenv:precise]
|
||||
basepython = python2.7
|
||||
@ -37,7 +37,7 @@ basepython = python2.7
|
||||
commands =
|
||||
pip install https://github.com/scrapy/w3lib/archive/master.zip#egg=w3lib
|
||||
pip install https://github.com/scrapy/queuelib/archive/master.zip#egg=queuelib
|
||||
trial scrapy
|
||||
trial {posargs:scrapy}
|
||||
|
||||
[testenv:py33]
|
||||
basepython = python3.3
|
||||
@ -52,7 +52,7 @@ deps =
|
||||
mock>=1.0.1
|
||||
mitmproxy>=0.9.2
|
||||
commands =
|
||||
trial scrapy
|
||||
trial {posargs:scrapy}
|
||||
|
||||
[testenv:windows]
|
||||
commands =
|
||||
|
Loading…
x
Reference in New Issue
Block a user