Tutorial: How to Install Mozmill on Mac OS X versions 10.5 and later

Hey Mozilla contributor! Yes, you! You are helpful and awesome, and you want to help the hard-working Quality Assurance team (affectionately dubbed mozQA) maximize the functionality and awesomeness of the Firefox web browser! Mozmill is a test suite you can use to run functional tests on any version of Firefox. I’m going to walk you through how to install Mozmill. Ready?

First, if you haven’t already, open up your Terminal application or command line shell of your choice. Navigate to your home folder (that command probably looks like this: cd ~), then run each of these commands, as follows:

  • $ curl -O https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py

When you run that, it will show something like this:

screenshot1

  • $ sudo python ez_setup.py

Note: this one may prompt you for your password, which you should go ahead and enter.

screenshot2

This will generate many lines of code as it runs. You will know it’s finished when you see this:

screenshot3

  • $ sudo easy_install pip

screenshot4

  • $ sudo pip install mozmill Note: This will also generate many lines of code as it downloads. You’ll know it’s finished when you see this, and then a new command line prompt

screenshot5

Once each of these has been run, you should now have Mozmill installed. You can check by entering this command, which should tell you what version of Mozmill you’re running:

  • $ mozmill –v

screenshot6

So now you’re all set up to start running tests! You deserve a badge. Get it here!

Then clone the mozmill-test repository as directed here, and dig in!