[qmtest] Questions about sql_result_stream
Stefan Seefeld
seefeld at sympatico.ca
Mon Mar 20 16:22:09 UTC 2006
Claes Lilliesköld wrote:
> Hi,
> I’m implementing a database framework for storing results from qmtest.
> I have looked at qm/test/classes/sql_result_stream.py in the CVS version,
> but I’m not sure how to use it.
>
> What I want to be able to do is to do my testing first, and then,
> by pointing out the results.qmr file, extract the actual results, and store
> it in a database. Is sql_result_stream a good example of this, and
> do I activate/use this extensions.
All result streams are used with 'qmtest run' calls, i.e. qmtest will insert
results during execution (see 'qmtest run --help' as well as the manual for
details).
It should certainly be possible to write a script that opens a results file,
and then transfers individual results into a different results stream (such
as SQLResultStream).
Regards,
Stefan
More information about the qmtest
mailing list