Skip TestCase based on previous success/failure
Asked by
Kyle VandenLangenberg
Hello,
So I am building a large testing procedure using the Sikuli IDE. Right now it is structured like this:
class xyz(unittest.
def ...
class abc(unittest.
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)?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Kyle VandenLangenberg for more information if necessary.
To post a message you must log in.