Commit Graph

39 Commits

Author SHA1 Message Date
Berker Peksag 31e5f164d4 Import unittest.mock if available.
mock is in the stdlib since Python 3.3.
2015-03-08 15:03:04 +02:00
Daniel Graña c05e99a4f4 oops, restore Pillow from precise test requirements 2014-09-10 12:21:08 -03:00
Daniel Graña a823207f18 Stop logobserver only when set 2014-09-10 12:09:07 -03:00
Daniel Graña 02dd4a56a2 fix requirement typo 2014-08-09 00:44:48 -03:00
Daniel Graña 37787081d8 precise ships zope.interface 3.6.1 2014-08-09 00:37:08 -03:00
Daniel Graña 3b64b2449e update other places where w3lib version is mentioned 2014-08-04 15:56:41 -03:00
Mikhail Korobov 51bd9f7d64 TST enable doctests for Python 3 2014-08-01 23:12:52 +06:00
Daniel Graña 7cd271eb8e remove more references to runtests.sh 2014-07-31 17:30:45 -03:00
Daniel Graña 70ee66ba0c Collect the list of packages not working on python3 2014-07-31 14:06:34 -03:00
Daniel Graña 99fb4eb12d fix requirements.txt for tests under precise 2014-07-31 12:50:07 -03:00
Daniel Graña aaf531c7dc fix Twisted package name 2014-07-30 19:45:08 -03:00
Daniel Graña eb1cf303d3 use pytest.ini to enable twisted plugin 2014-07-30 19:45:08 -03:00
Daniel Graña caab9f29f2 move tests requirements under tests dir 2014-07-30 19:45:08 -03:00
Daniel Graña 242c08553f move tests under root dir 2014-07-30 19:45:08 -03:00
Daniel Graña 0cf035dcbd Add tox env for python 3.4 2014-07-24 15:38:04 -03:00
Daniel Graña 79aba9e314 pytest 2.6.0 is on pypi now 2014-07-24 15:37:43 -03:00
Mikhail Korobov e38e3d2752 PY3 make it possible to run some tests in Python3
* switch to Twisted 14.0.0 because SVN version broke twisted.log in Python 3;
* skip top-level shortcuts to make at least some tests pass;
* use PY3 compatible import of _monkeypatches.
2014-07-02 22:23:01 +06:00
Daniel Graña 752787e634 Add a LevelDB cache backend 2014-06-04 16:09:07 -03:00
Daniel Graña 597fac25ec force installation of w3lib and queuelib for trunk env 2014-06-02 20:29:35 +00:00
Julia Medina c7c57178e0 New tox env: docs 2014-04-09 18:46:01 -03:00
Daniel Graña 986be9a396 Run testsuite with py.test 2014-04-03 12:26:44 -03:00
Mikhail Korobov 42dc34f924 TST Improved twisted installation in tox.ini for Python 3.3
Install twisted trunk because released twisted doesn't install properly,
see https://twistedmatrix.com/trac/ticket/6539.

Also, test-requirements are removed for 3.3 because mitmproxy doesn't
install in Python 3.3, and mock is in Python 3.3 standard library.

Note that trial scrapy is not doing what is expected because twisted doesn't
have trial runner for 3.3 yet, so this command will most likely call "trial"
outside tox virtualenv and will use incorrect interpreter.
2014-02-17 17:21:38 +06:00
Daniel Graña 02c80ca75b rename tests requirements to forward looking for /tests/ 2014-01-03 21:02:25 -02:00
Daniel Graña 958d0dbf39 move tests requirements to a single place 2014-01-03 18:55:54 -02:00
Mikhail Korobov b15df73a0f allow running individual tests via tox, e.g. «tox -e trunk -- scrapy.tests.test_spider» 2013-12-29 01:59:20 +06:00
duendex 247b330f08 Corrected typo in tox.ini 2013-12-02 21:34:35 -02:00
duendex 02bab270e8 Added mitmproxy as a requirement. 2013-12-02 20:25:12 -02:00
Daniel Graña 2564c21d4c add a tox env for Python 3.3 2013-11-19 20:15:15 -02:00
Daniel Graña fabb351097 map travis-ci matrix to tox environments 2013-11-07 10:58:08 -02:00
Daniel Graña 2df8156431 Drop Python 2.6 support 2013-10-29 13:44:00 -02:00
Daniel Graña 1f17230f17 add testing environment for development versions of w3lib and queuelib 2013-10-18 16:08:27 -02:00
Pablo Hoffman 892386ee01 tox.ini: disable sitepackages on windows, as a compiler is often not available 2013-08-12 18:59:41 -03:00
Mikhail Korobov 0d9f7843ba allow passing arguments to runtests script via tox 2013-07-09 00:41:13 +06:00
Mikhail Korobov f29e5d0ca1 reuse runtests.sh and runtests.bat scripts in tox.ini 2013-07-09 00:38:00 +06:00
Mikhail Korobov 3a6dff3090 make tox test running more consistent with bin/runtests.sh script 2013-07-09 00:30:39 +06:00
Mikhail Korobov b98e80cbb8 use tox deps instead of "manual" pip install; add lucid and precise environments to tox.ini 2013-07-09 00:26:59 +06:00
Mikhail Korobov 35fbec2e63 allow passing arguments to tox
e.g. "tox -- scrapy.tests.test_contrib_loader" runs test_contrib_loader for Python 2.6 and 2.7
2013-07-08 22:51:03 +06:00
Daniel Graña 5db45b3825 remove scrapyd, it was migrated to its own repository 2013-02-06 05:24:07 +00:00
Marc Abramowitz 9ae8ea96c4 Add tox.ini for tox (http://tox.testrun.org/) 2012-06-28 12:43:12 -07:00