Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qmtest] Regarding test cases which run in loop


  • To: Minal Lamture <minal.lamture@xxxxxxxxxxxx>
  • Subject: Re: [qmtest] Regarding test cases which run in loop
  • From: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
  • Date: Fri, 03 Aug 2007 11:16:27 -0400

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@xxxxxxxxxxxxxxxx
(650) 331-3385 x718