General
=======

This test setup contains all configuration and data for a test run of the
KResource migration tool.

It is recommended to create an archive, e.g. tar.bz2, of this directory and
extract it at the test location.
This allows to conveniently remove the whole test setup and restart with a
clean one.

Runtime requirements
====================

Uses the akonaditest testrunner to start a separate D-Bus daemon and a locally
contained Akonadi server setup.

Uses kabcclient to extract pre- and post-migration information from the
KResource setup at this time.

Uses kreadconfig to get values from the KResource configuration.

Uses qdbus to shutdown the Akonadi server.

Running the test
================

Start the testrunner script

% ./runtest.sh

it will not stop the setup so you can manually inspect it.
To do so and/or to shut it down, source the testenvironment.sh file into any
number of shells:

% source testenvironment.sh

You can now start tools like akonadiconsole, interact with the D-Bus
interfaces of the processes using qdbus and finally stop it by executing the
newly defined shellfunction "shutdown":

% shutdown

