An apparatus for compiling a test comprises a database having a plurality
of test tasks stored therein, each test task being associated with a task
type, means for selecting test tasks from the database to obtain a
multitude of selected test tasks, and means for outputting the selected
test tasks of the test to a user. The means for selecting test tasks
comprises means for selecting, for a task type, at least one test task
from the database and for taking the selected test task over to the
multitude of selected test tasks if a test task for the task type is
available in the database, and an exception-handling logic configured to
search the database, for a task type for which no test task is available
in the database, for a replacement test task according to a given
replacement rule and take same over to the multitude of selected tasks.