From 49846bf875da7b7b44ee8fc8744bd84b6e65cf9b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 18 Oct 2013 17:51:47 +0100 Subject: Report number of scenarios skipped due to ASSUMING --- yarn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'yarn') diff --git a/yarn b/yarn index f4abcdc..f8ca0cd 100755 --- a/yarn +++ b/yarn @@ -125,6 +125,7 @@ class YarnRunner(cliapp.Application): self.info('Found %d scenarios' % len(scenarios)) self.scenarios_run = 0 + self.skipped_for_assuming = 0 self.steps_run = 0 self.timings = [] @@ -149,6 +150,9 @@ class YarnRunner(cliapp.Application): '(%d total steps), ' 'in %.1f seconds' % (self.scenarios_run, self.steps_run, duration)) + if self.skipped_for_assuming: + print ('Scenarios SKIPPED due to ASSUMING step failing: %d' + % self.skipped_for_assuming) if self.settings['timings']: self.report_timings() @@ -299,6 +303,7 @@ class YarnRunner(cliapp.Application): self.ts.notify( 'Skipping "%s" because "%s %s" failed' % (scenario.name, step.what, step.text)) + self.skipped_for_assuming += 1 break else: for step in normal: -- cgit v1.2.1