'assert that the specified outcomes appear with the respective
numbers (0 means it didn\'t occur) in the text output from a test run.'

def assert_outcomes(self, passed=0, skipped=0, failed=0):

    d = self.parseoutcomes()
    assert (passed == d.get('passed', 0))
    assert (skipped == d.get('skipped', 0))
    assert (failed == d.get('failed', 0))
