Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

[qmtest] Only run tests with attribute=X


  • To: qmtest@xxxxxxxxxxxxxxxx
  • Subject: [qmtest] Only run tests with attribute=X
  • From: Mohamed Barwani <mohamedb@xxxxxxx>
  • Date: Tue, 22 Jul 2008 18:09:29 +1000

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