Wednesday, 17 March 2010

Ubuntu prerelease testing made easy with TestDrive

I frequently download the latest Ubuntu daily build and set up a fresh install in a virtualized environment so that I can test software that I'm developing or evaluate the status of Ubuntu development.

Canonical's Jorge Castro recently introduced me to a nifty tool called TestDrive that simplifies the setup process by automatically downloading the ISO and configuring a VM. TestDrive provides a simple command-line tool that allows you to select which ISO image you want to test. It will download the image and then configure and launch a VM. The real win is that it caches the ISO images and uses rsync to update the parts that have changed so that you don't have to download the whole ISO again every time you want to test a new daily build.

It has saved me a bit of time over the past week. It's also fairly easy to use, which makes it a handy tool for casual Ubuntu users who want to see the latest updates to the new default theme or try out some of the new features that have been prominently discussed in recent reviews. It supports both KVM and VirtualBox. You can configure your preferred virtualization software, the default ISO caching path, and the default memory configuration by editing the /etc/testdriverc file.

To get TestDrive on Ubuntu 9.10, you can install it from the project's PPA. For more details, visit its project page on Launchpad.