[qmtest] Regarding test cases which run in loop
Stefan Seefeld
stefan at codesourcery.com
Fri Aug 3 15:16:27 UTC 2007
Minal Lamture wrote:
> Hello all,
>
> I want to use QMTest for running test application wchich is in
> continuous loop.
> Problem is it never exits. It checks for signals continuously. And unitl
> and unless it quits QMTest will not show the result.
>
> So is there any way to check this kind of applications which run in
> loop?
How do you define 'test' in this context ? Conceptually, it sounds like
a server, with tests being requests together with expected answers. So
may be you could set up your tests in a way that such a server gets started
by a resource instance, and tests then issue requests to that and compare the
results with expected values ? (But even then, there is no continuous loop.
A test has a finite set of tasks to run before it determines whether it passed
or failed, and a test suite has a finite set of tests...)
I would need more context to be able to make more detailed suggestions.
Regards,
Stefan
--
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718
More information about the qmtest
mailing list