We love pull requests. Here's a quick guide:
-
Fork and clone the repo:
git clone link_to_your_fork_from_github
-
Create a new branch for your test:
git checkout -b name_of_the_new_branch
-
Make your changes to the code (e.g. add or fix a test).
-
Run the tests (using the instructions given in the README.md file of each project). We only merge pull requests if all tests are passing and there are no merge conflicts.
-
Push the changes you made to your fork and submit a pull request.
At this point you're waiting on us. We like to at least comment on your pull request and may suggest some changes, improvements or alternatives. In general two people will review your request and once it meets all the requirements it will get merged right in.
If you encounter any problems with any of the steps from above or just are in a conversational mood, you can find us on IRC or via the MozWebQA mailing list.
Some things that will increase the chance that your pull request is accepted:
- Ensure that your code conforms to our Style Guide. A very useful tool for checking your code is the Python style guide checker.
- Check the Web QA team page for more info.
And in case we didn't emphasize it enough: we love contributions!