Testday for Testscripting your Add-on with MozMill

Nick Nguyen (osunick)

3

This is a guest blog post by Henrik Skupin from the Mozilla QA team.

Mozmill, which is a framework for running functional tests, can be used for any application which is built on top of the Mozilla platform. This includes Firefox, Thunderbird, SeaMonkey, and many others. But it’s not only possible to test the application itself. Instead it can also be used to run any type of functional tests for installed add-ons.

To stimulate add-on authors to create their own Mozmill tests, Mozilla QA is holding a testday on Friday, March 5th, which is fully devoted to Mozmill testscripting for your add-on. Learn how Mozmill tests will be written and how they can be run in Firefox. The Mozmill team will be around the whole day to assist you wherever possible.

If you are interested in the testday, you should read through the following documentation about the creation of testscripts for extensions.

You can also attend, when you have general questions about Mozmill or when you want to help in creating Mozmill tests for Firefox. Get ready and join us in #testday next Friday.

3 responses

  1. Bee wrote on ::

    Well, it looks very cool!!!!!!!!!!!!!!!!!!!!!

    Do not follow the installation manual on developer.mozilla.org because it’s all wrong!!!!!!!!!

    I managed to install it, without root privileges in this way:

    python ./setup.py build
    mkdir -p /tmp/mozmill-1.4/install/lib/python2.6/site-packages/
    export PYTHONPATH=/tmp/mozmill-1.4/install/lib/python2.6/site-packages/
    python ./setup.py install –prefix=/tmp/mozmill-1.4/install
    cd /tmp/mozmill-1.4/install/bin
    ./mozmill

    To run it again, you could create a script like this one:
    #!/bin/sh
    export PYTHONPATH=/tmp/mozmill-1.4/install/lib/python2.6/site-packages/
    cd /tmp/mozmill-1.4/install/bin
    ./mozmill

    Maybe you could install it in “/opt” or “/home/yours”, if you want to keep it!!!!! /tmp is only good for experiments!!!!!!!!!!!!!

    https://developer.mozilla.org/en/Mozmill_Tests#Testing_extensions_with_Mozmill
    explains what arguments you can give to ./mozmill !!!!!!!!!!!!!!!!!!!!!

    bye!!!!!!!!!!!!
    ~bee!!!!!

  2. Stephen wrote on ::

    Mozilla!!! You need to wake the f$%& up and smell the coffee. Stop blocking plugins!!!! Your stupid little pop up that says plugins are blocked for my protection is a joke. FF use to be cool, but now it is becoming another blue E..

  3. Henrik Skupin wrote on ::

    What is wrong with the installation instructions? I do not see a problem except your needs to be able to install it with non-root privileges. Also remember that not everyone will be able to build Mozmill himself. We have ready to go pyPI packages available which should be used.