mozregression is an interactive regression rangefinder for quickly tracking down the source of bugs in Mozilla nightly and inbound builds.
You can start using mozregression today:
- start with our installation guide, then
- take a look at our Quick Start document.
Build status:
For more information see:
https://mozilla.github.io/mozregression/
You can chat with the mozregression developers on Mozilla's instance of Matrix: https://chat.mozilla.org/#/room/#mozregression:mozilla.org
Found a problem with mozregression? Have a feature request? We track bugs on bugzilla. You can file a new bug here.
Want to hack on mozregression ? Cool!
To make setup more deterministic, we have provided requirements files to use a known-working set of python dependencies. You can install these inside a virtual environment to create a development environment.
This is a two step process:
-
If you don't have them already, install virtualenv or virtualenvwrapper.
-
Install dependencies:
With virtualenvwrapper:
mkvirtualenv -p /usr/bin/python3 mozregression
pip install -r requirements/all.txt
pip install -e .
Or with virtualenv: ::
virtualenv -p /usr/bin/python3 venv
source venv/bin/activate
pip install -r requirements/all.txt
pip install -e .
After running the above commands, you should be able to run the command-line version of
mozregression as normal (e.g. mozregression --help
) inside the virtual environment. If
you wish to try running the GUI, use the provided helper script:
python gui/build.py run
To run the unit tests for the console version:
pytest tests
For the GUI version:
python gui/build.py test
Before submitting a pull request, please lint your code for errors and formatting (we use black, flake8 and isort)
./bin/lint-check.sh
If it turns up errors, try using the lint-fix.sh
script to fix any errors which can be addressed automatically:
./bin/lint-fix.sh