A crawler to find websites that exercise code in Firefox that is not covered by unit tests
Перейти к файлу
Marco Castelluccio 0e91324518 Run Dependabot monthly
Fixes #607
2023-04-06 00:39:08 +02:00
.github Run Dependabot monthly 2023-04-06 00:39:08 +02:00
coverage_crawler Update `find_elements` usage for Selenium 4 (#551) 2022-11-05 00:14:47 +01:00
tests Add `tests/__init__.py` (#557) 2022-11-09 09:35:32 +01:00
.gitignore Modify .gitignore (#80) 2018-06-21 10:00:56 +01:00
.isort.cfg Modify .isort.cfg to force single line imports (#49) 2018-05-31 18:52:57 +02:00
.taskcluster.yml Switch to Taskcluster (#401) 2020-12-21 22:21:54 +01:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct (#228) 2019-03-30 16:01:59 +01:00
LICENSE Initial commit 2018-02-15 14:44:04 +01:00
MANIFEST.in Include other data files in the package 2018-07-27 19:42:00 +01:00
README.md Switch to Taskcluster (#401) 2020-12-21 22:21:54 +01:00
download_artifacts.py Download artifacts script to use as binary. (#133) 2018-08-27 23:33:27 +06:00
requirements.txt Remove git link from requirements.txt (#552) 2022-11-09 09:36:22 +01:00
run_crawler.py Make crawler more modular (#121) 2018-08-02 16:35:43 +02:00
setup.cfg Add flake8 configuration 2018-02-15 17:02:17 +01:00
setup.py Fix imports and test importing the module (#119) 2018-07-31 17:40:35 +01:00
style.css Add CSS file and option to use it (#95) 2018-07-04 18:56:15 +01:00
test-requirements.txt Test `find_children` using a flask server (#541) 2022-10-26 23:56:47 +02:00
websites.txt Increased number of websites (#79) 2018-06-20 21:07:26 +01:00

README.md

coverage-crawler

Task Status

A crawler to find websites that exercise code in Firefox that is not covered by unit tests

Software requirements

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 from latest_cov_build.py with the desired revision passed as argument to download the latest Firefox coverage build and other artifacts;
  • Run function run from crawler.py with the desired website passed as an argument.