Mutually Exclusive Resources

Sven Lundblad svlu at enea.se
Tue Aug 27 09:11:40 UTC 2002


Hello,

I'm writing test suites for embedded targets using QMTest and I have
chosen to implement a resource class for booting the embedded board with
a specific boot image. We also have test cases that needs to be run
against different boot images and hence will depend on different boot
image resources. Of course a specific board/target can only run one boot
image at a time so a specific boot image resource is mutually exclusive
with any other boot image resource.

Here is what I would like to do:
(1) Add an attribute to the resource class that means that instances of
that resource is mutually exclusive with other instances of that class.

(2) Write an execution engine that (a) postpone the set up of such a
resource until there is no other test cases that can be run on that
target and (b) cleans up any existing resource of that class before
setting up the new resource.

Does this make sense and if so, are there others that could use mutually
exclusive resources?

Regards,
Sven Lundblad, OSE Systems



More information about the qmtest mailing list