This page is not complete.
This page attempts to be a basic guide to writing your own Thunderbird MozMill Test.
Getting the existing MozMill tests Running
Currently you need:
- Thunderbird source, compiled and built (see Simple Thunderbird Build).
- MozMill, MozRunner and jsBridge installed (see the main Thunderbird MozMill Testing page)
Once you have both of those, cd into your object directory (of what?) and try running MozMill:
If you want to run just one set of tests rather than all of them, then you can do:
make SOLO_TEST=content_policy mozmill-one
The file mozmilltests.list tells you the available sets of tests.
Write Your Own Test
Now that you've got the tests running, you can start writing your own. When you need to do a mozmill test, you have several options:
- Modify an existing test
- Write a new test file in an existing test set
- Write a new set of tests (even if it just contains one file)