← Back to team overview

sikuli-driver team mailing list archive

[Question #201204]: Skip TestCase based on previous success/failure

 

New question #201204 on Sikuli:
https://answers.launchpad.net/sikuli/+question/201204

Hello, 

So I am building a large testing procedure using the Sikuli IDE. Right now it is structured like this: 

class xyz(unittest.TestCase)
     def ... 

class abc(unittest.TestCase)
    def .... 

Class 'xyz' and 'abc' are separate because they have different setUp and tearDown procedures. However, the tests (def 's ...) in the testcase 'xyz' have an output. The testcase 'abc' and its various tests are dependent on the output from the testcase 'xyz'. 

So my question: If the testcase xyz fails for some reason, is there a way to catch that failure and then tell class abc to not run (skip)? 


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.