mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-27 05:24:33 +00:00
8 lines
265 B
Bash
8 lines
265 B
Bash
|
# Run tests, generate coverage report and open it on a browser
|
||
|
#
|
||
|
# Requires: coverage 3.3 or above from http://pypi.python.org/pypi/coverage
|
||
|
|
||
|
coverage run --branch $(which trial) --reporter=text scrapy.tests
|
||
|
coverage html -i
|
||
|
python -m webbrowser htmlcov/index.html
|