writing composite tests

Stefan Seefeld stefan.seefeld at orthosoft.ca
Mon Sep 8 16:54:52 UTC 2003


hi there,

I have a couple of tests that consist of various steps
such as compiling, linking, executing, result (output)
analysis.

Each of these steps may be considered a test in itself,
depending on the earlier steps. As such, I would model
the situation as a 'composite test'.

Can such an approach be supported by qmtest ?
Would some of the components be generic enough to
be provided by the qmtest package itself ?
As of now, the only way to know whether a test
passed is by inspecting the result, i.e. calling
result.GetOutcome(). Wouldn't it be intuitive to
also let the Test.Run() method return a flag indicating
success ? Then I could write my composite test's 'Run'
method simply as 'a.Run() and b.Run()'.
But may be that is considered error-prone and redundant
as the result is represented at two different places:
the result object and the return value of 'Run()'...

Regards,
		Stefan




More information about the qmtest mailing list