Only run tests with attribute=X

Mohamed Barwani mohamedb at sgi.com
Tue Jul 22 08:09:29 UTC 2008


Hello there,

Here is one of the problems that am facing with qmtest and puzzled on how to 
solve it..

Suppose I have 100s of tests, based on a class of test y that has an attribute 
metadata..
i.e.:
class y(Test): # Extends/Inherits from qm.test.test.Test
    metadata=TextField()
    def Run(self, context, result):
         # do some thing


Is there a mechanism for me to ask qmtest to run any of class y tests that 
have metadata="something"

Would I be able to extend any of the database class method to do so?

Is there anything else that am missing from the qmtest philosophy ?!

-- 
Mohamed Barwani
ASGQA
"The good life is one inspired by love and guided by knowledge."
--Bertrand Russell



More information about the qmtest mailing list