README.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # Mozharness
  2. ## Docs
  3. * https://developer.mozilla.org/en-US/docs/Mozharness_FAQ
  4. * https://wiki.mozilla.org/ReleaseEngineering/Mozharness
  5. * http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html
  6. * http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness
  7. ## Submitting changes
  8. Like any Gecko change, please create a patch or submit to Mozreview and
  9. open a Bugzilla ticket under the Mozharness component:
  10. https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness
  11. This bug will get triaged by Release Engineering
  12. ## Run unit tests
  13. To run the unit tests of mozharness the `tox` package needs to be installed:
  14. ```
  15. pip install tox
  16. ```
  17. There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below:
  18. ```
  19. tox # run all unit tests
  20. tox -- -x # run all unit tests but stop after first failure
  21. tox -- test/test_base_log.py # only run the base log unit test
  22. ```
  23. Happy contributing! =)