Mozbase is a set of easy-to-use Python packages forming a supplemental standard library for Mozilla. It provides consistency and reduces redundancy in automation and other system-level software. All of Mozilla’s test harnesses use mozbase to some degree, including Talos, mochitest, reftest, Autophone, and Eideticker.

In the course of writing automated tests at Mozilla, we found that the same tasks came up over and over, regardless of the specific nature of what we were testing. We figured that consolidating this code into a set of libraries would save us a good deal of time, and so we spent some effort factoring out the best-of-breed automation code into something we named “mozbase” (usually written all in lower case except at the beginning of a sentence).

This is the main documentation for users of mozbase. There is also a project wiki page with notes on development practices and administration.

The documentation is organized by category, then by module. Figure out what you want to do then dive in!

Indices and tables