Resource problem on QMTest !!!
Stefan Seefeld
stefan at codesourcery.com
Tue Jul 10 13:44:36 UTC 2007
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 at codesourcery.com
(650) 331-3385 x718
More information about the qmtest
mailing list