Ideas to improve testing

QEmu VM images

The idea is to have QEmu VM images with both messages and a minimalistic OS setup with a specific IMAP server. With a default such VM image with an IMAP server being one with UW-IMAPd installed. The images would share the same messages and the layout of the folders would be documented and known (and used by the unit tests of Tinymail).

The unit tests would test whether the VM image is left in a certain state to measure their success.

The environment would automatically create, launch and shutdown the virtual machines. Maybe would libvirt be interesting for this?

More difficult corner cases

  • A test that tests what happens when there's no room on the filesystem
  • A test that tests a lot of situations when there's no connection available
  • A test that tests a lot of situations when the connectivity is terribly bad

Integration with GNOME Buildbot

  • Integration with scratchbox targets
  • Compilation for different architectures and launching the tests for different architectures