mozsquib/gaia-email-libs-and-more — pull request #3 by asutherland (2012-10-30 23:13:34+00:00)
Title: have unit tests spin up the tests themselves, log, fail in idiom

This basically implements some of my requests from your activesync-tests pull request:

- causes the activesync test server to be spun up as part of the test. We ask for port 0 so there is no chance of a conflict. I made sure this does not break the make target you created; you can still run a server on 8080 without trouble.
- I added some logging of what the fake server receives and sends which can be seen in the ArbPL UI. I think this will be pretty handy.
- I replaced the do_throw with logging an error. do_throw kills the unit test framework; although it tries to do some last-ditch logging, it's not the right way to close up shop.