~robcee/ more than just sandwiches

Posted
21 July 2006 @ 10am

Tagged
Code, Quality

Extensions for Automation

This week I’ve been taking a different tack on the testing problem. I’ve been thinking about unit testing at the C++ level over the past couple of weeks and have a couple of frameworks to try out. I’ve had a couple of issues with both of the frameworks which I’ll get to in a later post.

In the meantime, I’ve lifted myself out of the C++ and taken a look at Extension Development. There are a number of places in the application that can be tested with some simple extensions. Or so the theory goes… This week, I’m writing an extension to test some bookmarking functions. I’ll be documenting the process in detail on my wiki page for anyone interested.

One final note, Ted Mielczarek’s Firefox/Thunderbird Extension Wizard is a great starting point for building an extension.


4 Comments

Posted by
hyperstruct
21 July 2006 @ 3pm


Posted by
robcee
21 July 2006 @ 4pm

Hyperstruct, thanks for the comment. I’ll take a look at mozlab and mozunit. Interesting test-driven development demo you’ve got there.


Posted by
Ted Mielczarek
24 July 2006 @ 7am

Glad to see you found it useful! Now I just need to get around to updating the Extension Developer’s Extension to work with generated extensions…


Posted by
robcee
24 July 2006 @ 9am

Hey Ted,

Yeah, the Extension Wizard is good stuff. The Extension Developer’s Extension is very helpful, but it needs a little love on 2.0. Still, thanks for the stuff! :)