diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-10-18 17:51:47 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-10-18 17:51:47 +0100 |
commit | 49846bf875da7b7b44ee8fc8744bd84b6e65cf9b (patch) | |
tree | 9420ce5892c8f99422b82face57b1e5eb6e911c4 /yarn | |
parent | b15657651e587bf66399bc1a234603fe2bd3889b (diff) | |
download | cmdtest-49846bf875da7b7b44ee8fc8744bd84b6e65cf9b.tar.gz |
Report number of scenarios skipped due to ASSUMING
Diffstat (limited to 'yarn')
-rwxr-xr-x | yarn | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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: |