Saturday, June 02, 2012

Bugzilla 4.2 Support is Finally Here

I know a lot of you have been wondering what happened... Testopia was such an active project, and then suddenly seems to have fallen off a cliff.

About 18 months ago I changed jobs. In my prior position Testopia was my full time job. I was paid to devote 40+ hours a week to its development and maintenance. I enjoyed the work immensely. I would have loved to continue were it not for circumstances with the business outside my control.

As with most job changes there were a lot of other changes that accompanied it. In my case, moving to a new city, new schools for the kids, my wife (a school teacher) moved to a new position as well. It has been a very busy time.

The net result is that Testopia kind of fell by the way side. At my new job, they use Jira instead of Bugzilla. I now spend most of my day programming in Java instead of Perl. The downside is that I have had a hard time switching contexts between my daily work and what has become a side project.

That being said, I do have some good news for all your patience. With the help of LpSolit from the Bugzilla team, I am ready to announce Testopia 2.5 with support for Bugzilla 4.2 is now available to download from Mozilla's FTP. This version no longer requires you to patch Bugzilla. If you are upgrading, you must first reverse the patch from the earlier version before installing the tarball. For new installations, simply untar the tarball in your Bugzilla installation directory and you should be good to go.

A word of caution though. When I released previous versions of Testopia, it was only after it had already had a chance to be vetted in a production environment at my previous employer. I have not had that luxury with this release.

I do appreciate all the comments and questions I have received. I apologize for not being more prompt in my responses. Please know they are received and reviewed, even if it takes a while given my new circumstances. Please continue to send them.

As for the future, I refuse to let Testopia simply die. I have been toying with the idea of adding support for Jira and possibly other bug tracking tools - an oft requested feature. The major constraint is simply time. For now, enjoy the latest, and as always, bugs, and enhancements can be logged at and comments and suggestions at

Friday, March 11, 2011

Preliminary Support for Bugzilla 4.0

I have checked in (rev 648) a first pass support for Bugzilla 4.0. I have not had time to do a full regression, so I am guessing there are issues, but I was able to create test plans, cases, and runs. There is no tarball yet, but you can install from BZR. If I get a chance to, I will do some more testing and have a tarball posted soon.

Wednesday, July 21, 2010

Testopia 2.4

Testopia 2.4 with support for Bugzilla 3.6 is now available. As always, please back up your data before attempting to install or update.

Wednesday, July 07, 2010

What You've All Been Waiting For

Testopia support for Bugzilla 3.6 is nearing completion... or so I thought. It seems though that due to changes in the API handling in Bugzilla, the XMLRPC API will have to be rather extensively overhauled.


API calls will have to have a struct (or hash) to contain the arguments as named parameters. To be fair, this is how Bugzilla has always documented their API although it was never enforced until now. However, with the JSON RPC option, it is now enforced and that spills over to XMLRPC as well.

This will of course cause extensive pain for anyone using the existing API as every RPC call will have to be updated with the new parameters. I am working on a solution that can bridge this if possible, but this will likely be the standard going forward.

UPDATE: Max has so generously provided a fix for this problem (See bug 577415). I will include this in the patch until it is released in Bugzilla 3.6.2. This means you can use either named parameters or positional parameters with named being the preferred method. Positional parameters will be deprecated starting with this upcoming release.

Testopia source is now in Bazaar.

I have had Max move the Testopia source into the mozilla Bazaar VCS. The CVS will be mirrored from this, but I encourage anyone downloading from CVS to get the source directly from Bazaar. You can view the development branches and check it out from

Testopia is now a full-fledged Bugzilla extension.

Though it was moved into the extension directory in 3.4, Bugzilla revamped the extension system in 3.6 to provide better support for extension writers. Testopia has been converted to the new system in 3.6. This reduces overhead and compiling issues and should make it faster to execute and take less memory.

Part of this is a change in the name of the Testopia folder from 'testopia' to 'Testopia' which will impact Windows users who are upgrading. Linux users can simply upgrade, merge any customizations, and then delete the 'testopia' (with a lower case 't') folder where as Windows users, and users of case-insensitive file systems in general (thanks justdave), will need to rename the existing 'testopia' folder to something else (such as testopia-old) and then upgrade, merge, and then delete the old folder.

A release should be forthcoming. I'll keep you posted.

Monday, January 18, 2010

Testopia 2.3.1

A few minor, and not so minor bugs made it into the 2.3 release. This release is to fix some of them.

Tuesday, December 01, 2009

Testopia 2.3 Released!!!

Well, it sure took long enough... But good things come to those who wait. :-)

As mentioned earlier, this moves a lot of files. Please be sure to answer NO when asked during checksetup if you need to merge any of your own changes into the new locations.

As always, enjoy!

Monday, November 09, 2009

2.3 Beta

We have a beta folks!
Grab it from

Usual steps apply. Reverse old patch, untar, apply new patch, checksetup. The only thing to note is the new patch is in extensions/testopia now.

As always, this is a beta which means I would not yet recommend it for production installations. But you can try it out on a test install to see how it will work with your data.

As usual, log bugs that you find at

For those that don't want to mess with installing it, you can test it out at

Silly Bugs

So I was really hoping to have a release done by now. Over the weekend I found a major issue with the database upgrade script which took a few hours of tracking down (calls to bz_alter_column on columns that have REFERENCES need to have the REFERENCES hash included). I think I have finally squashed it, but I ran out of time to test it last week. With luck, I will be done testing in the next couple of days.

For those upgrading from a previous version, you will need to pay attention to the new file structure. Especially if you have made any modifications to the code. If so, you will want to merge your changes into the files in the new location in the extensions directory. All files will have moved there except the cgi scripts.

I wanted to have a script that will clean up the old file structure. Depending on how ambitious I feel this week, I may still try to get to it.


The following files will be moved into the extensions directory:

testopia (dir) -> extensions/testopia/
Bugzilla/Testopia/ (dir) -> extensions/testopia/lib
Bugzilla/WebService/Testopia/ (dir) -> extensions/testopia/lig/WebService
Bugzilla/Config/ -> extensions/testopia/lib/Testopia/
skins/standard/testopia.css -> extensions/testopia/css/testopia.css
template/en/default/testopia/ (dir) -> extensions/testopia/template/en/default

The following templates and template hooks have been moved to the
extensions/testopia/template directory:


Also, because of the more complete reliance on hooks, Testopia 2.3 will not be compatible with Bugzilla 3.2. In other words, we are back to only supporting a single version of Bugzilla at a time. If you want to upgrade Testopia, you will first need to upgrade Bugzilla to 3.4.3.