Now that we have mail bloat tests and fake servers in the tree, we should add actually sending a message to the tests. I'm suggesting we do this before other types of fake server integration because it should be much simpler.
See URL field for information on the fake servers.
What I think we need to do here is:
1) Start up the fake server in an xpcshell.
A make target/script would seem appropriate here.
2) Adapt the bloat tests to send a message in the compose window
I think we should open, then close the window, followed by another open and a send. This will then exercise some more of the compose window recycling code.
3) Provide some kinda of feedback confirmation between the tests and the fake server that the test has correctly run i.e. the fake server has received the message.
This step could be left until after the Gristmill/MozMill integration suggested by bug 458352, as that may provide for an easier way to analyse the data.
Bloat tests cease to exist now.