From c4038a5a4b2efc6a7654d4ca81b2ae8b1b28a667 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 25 Aug 2013 14:02:29 +0100 Subject: Report scenaries skipped due to ASSUMING --- NEWS | 2 ++ yarn | 3 +++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index a57a186..8f5f5df 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,8 @@ Version 0.10, released UNRELEASED * A new option, `--timings`, has been added to yarn to report how long each scenario and each step took. +* Yarn now reports scenarios skipped because of ASSUMING failing. + Bug fixes: * Yarn now complains if a scenario has no THEN steps. Suggested by diff --git a/yarn b/yarn index a84fcd4..2e02eb3 100755 --- a/yarn +++ b/yarn @@ -291,6 +291,9 @@ class YarnRunner(cliapp.Application): self.snapshot_datadir( tempdir, datadir, scenario, step_number, step) if exit != 0: + self.ts.notify( + 'Skipping "%s" because "%s %s" failed' % + (scenario.name, step.what, step.text)) break else: for step in normal: -- cgit v1.2.1