0e91324518
Fixes #607 |
||
---|---|---|
.github | ||
coverage_crawler | ||
tests | ||
.gitignore | ||
.isort.cfg | ||
.taskcluster.yml | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
download_artifacts.py | ||
requirements.txt | ||
run_crawler.py | ||
setup.cfg | ||
setup.py | ||
style.css | ||
test-requirements.txt | ||
websites.txt |
README.md
coverage-crawler
A crawler to find websites that exercise code in Firefox that is not covered by unit tests
Software requirements
- Python 3.6+
- Mercurial
Usage as a script
- Install requirements with
pip install -r requirements.txt
; - Install development requirements with
pip install -r test-requirements.txt
; - Run the
download_artifacts.py
script with the desired revision passed as argument to download the latest Firefox coverage build; - Run the
run_crawler.py
script.
Usage as a module
- Add this project's repository to your requirements file as a Git dependency;
- Import
coverage_crawler
; - Use function
download_artifacts
fromlatest_cov_build.py
with the desired revision passed as argument to download the latest Firefox coverage build and other artifacts; - Run function
run
fromcrawler.py
with the desired website passed as an argument.