1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 19:43:39 +00:00
scrapy/extras/coverage-report.sh
2014-07-30 19:45:08 -03:00

8 lines
258 B
Bash
Executable File

# 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 tests
coverage html -i
python -m webbrowser htmlcov/index.html