[qmtest] passing data from one test to another
Stefan Seefeld
seefeld at sympatico.ca
Tue Jul 13 23:29:34 UTC 2004
Scott Lowrey wrote:
> An alternative is to pack several tests into one with multiple
> opportunities to annotate and fail along the way, but that sort of
> defeats the whole purpose of using QMTest, right?
Exactly. While I agree with you about the occasional difficulty to
separate test scenarios, I think that qmtest does a good job at
reminding you what unit testing is all about ;-)
If you can't split a test into (independent) sub-units, keep them together !
Pushing different annotations into the result object to distinguish test
failures is what qmtest offers you to recover the information later.
Regards,
Stefan
More information about the qmtest
mailing list