[qmtest] Test cases which require variation of the input
Mark Mitchell
mark at codesourcery.com
Mon Sep 30 03:34:14 UTC 2002
> So I'm wondering how QMTest can help with this. What comes to mind is
> a test class which takes a template and a set of parameters to vary,
> and generates a whole series of test inputs; hopefully at least one of
> them will hit the edge. This is brute force. Anyone have a better
> idea?
That sounds like what I would do. Another option would be a test
database that instantiated the template as a zillion different tests,
but that's probably not as nice.
I can't think what else you could do; if you can only perceive the
failure with certain inputs, then you need to be generating those
inputs, which is going to require some sort of enumeration of
possibilities.
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the qmtest
mailing list