[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: Resource problem on QMTest !!!
- To: Spector Yaniv <ianiv.spector@xxxxxxxxxxxx>
- Subject: Re: Resource problem on QMTest !!!
- From: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
- Date: Tue, 10 Jul 2007 09:44:36 -0400
Spector Yaniv wrote:
> Hi Stefan ,QMTest folks :
>
> I am facing a critical problem in the handling of resources by QMTest
> The scenario is the follow :
>
> T1 (test1) contains R1 (resource1)
> T2 (test2) contains R2 (resource2)
> T3 (test3) contains R3 (resource1)
>
> All of them are contained in one suit
>
> When I run the suit the behavior is :
>
> A)SetUp R1 and Run T1
> B)SetUP R2 and Run T2
> C)Run T3 Without SetUp R1 .
>
> The question is how can I make in order to SetUp R1 in step c) before
> running of T3.
A resource is a device to prepare the environment tests that depend
on it will be run in.
By definition / construction, this environment is meant to be shared
by all dependent tests. Thus, a resource is always ever set up once (per target),
and not once per test. If you really want to do it for each test, why
use a resource at all ?
Regards,
Stefan
--
Stefan Seefeld
CodeSourcery
stefan@xxxxxxxxxxxxxxxx
(650) 331-3385 x718
|