I want to do a review of the EM and see what functions we can hit with the new unit testing framework. Most of this will be unrelated to other particular bugs.
I think this will be somewhat difficult with the current tools. I posted a script (https://bugzilla.mozilla.org/show_bug.cgi?id=390971) that uses leak-gauge.pl to do leak testing. The thing that is different about it, though, is that I have an extension which quits the browser when the first page finishes loading. So, I can run automated tests that do something like: - launch FF for some URL - FF launches, loads and quits - launch FF for some other URL - FF launches, loads and quits and so on. I have been thinking of doing extension testing with this. Such as: - create profile A with some set of extensions - launch FF pointing to that profile - run some tests - create profile B with some set of extensions - launch FF pointing to that profile - run some tests and so on. This should be a useful way to test the extension manager itself. Have you set up any of the code to do this yet?
Unit testing of the extension manager component is already possible using the test harness implemented in bug 382752 which allows exactly the type of testing you describe.
Very cool. You guys have it all covered then! :-)
Not really getting time to build up the test suite except as bugs are fixes but that is giving us some good coverage anyway so closing this down.