Qmtest help required

Stefan Seefeld seefeld at sympatico.ca
Tue Jul 3 14:01:07 UTC 2007


Sanjoy,

please send any QMTest-related questions to the QMTest mailing list.

sanjoy wrote:
> Hi Stefan,
> 
> I am using command.ExecTest class to test one executable.
> Now, I want to pass arguments to the executable from a config file
> beacuse number of different set of arguments is very large.I dont want
> write different test case for each set of arguments.
> That means ,I will write the args in a config file and access the config
> file from executable.
> Is there any option to do that in Qmtest?

What test database are you using ? The XML database, which is used by
default, stores test instances in (XML) config files. Part of that
configuration is the set of arguments with which to instantiate the test
class.
The 'ExecTest.arguments' parameter is part of that set.
In other words, what you want is already possible, if I understand you correctly.

Regards,
		Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the qmtest mailing list