Walk-through

According to data in Soyuz, Automated tests will be run on a configurable schedule, on particular SourcePackageReleases (and perhaps eventually on branches working toward a release), and the results made available to those who are involved with, or interested in, those aspects of the branches being tested. Perhaps tests for some software might be carried out with each new changeset, immediately highlighting the problematic change in many cases. After committing a new feature, the upstream developer and Debian maintainer might receive notification of it having broken functionality or buildability on a particular platform (e.g., Debian), and be able to fix the problem prior to release.

Testing Framework

Types of tests

Package file tests
These are carried out on the binary and source package files themselves, without installing them
Package self-tests
These are executed on a system which has the target package installed. They are generally independent of the platform, though there will be exceptions where distributions diverge in functionality. Usually they will be package-specific, but common themes will be factored out into generic tests and test building blocks
Packaging system tests
these require a system (real or virtual) where packages can be installed and upgraded. They are platform-specific insofar as they interface with the platform's packaging system, but will generally apply to any package
Macro tests
These will combine other types of tests in interesting ways. This may require changing the state of the system as a whole (such as a reboot, or system installation testing), and as such, some of them may only be feasible to automate on a virtual system.

Sandbox/Virtualization

The testing framework will almost certainly need a Sandbox where it can freely install and remove packages and otherwise abuse the system.

Reporting results

Notes

* DafyddHarries pointed out that Skolelinux is already doing some upgrade testing: http://developer.skolelinux.no/~pere/upgrade-testing/

Test ideas

Package file tests

Binary package tests

Source package tests

Package self-tests

Packaging system tests

Macro tests

Assignments (Hoary goals)

CategoryArchive

AutomatedTestingDiscuss (last edited 2008-08-06 16:15:56 by localhost)