The problem we were experiencing is due to a really dumb limitation with Proboscis. That limitation is that if you are using self
it ignores the decorators.
We used built-in functionality in unittest
and nosetest
to do what we needed to do.
In our setup
method we added the following line:
def setUp(self):
**self.skip_after_fail = True**
BaseService.setUp(self)
The test cases have to be named in a specific order for instance:
def test_1_method(self):
def test_2_method(self):
def test_2_method(self):
Then if test_1 fails the others will be skipped.