summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-08-25 14:02:29 +0100
committerLars Wirzenius <liw@liw.fi>2013-08-25 14:02:29 +0100
commitc4038a5a4b2efc6a7654d4ca81b2ae8b1b28a667 (patch)
treeff5b79aae9d526bbc7005bb768115d80e4d43bb1
parent7cba7b30e615e627984047b00cdd0de0b201efb5 (diff)
downloadcmdtest-c4038a5a4b2efc6a7654d4ca81b2ae8b1b28a667.tar.gz
Report scenaries skipped due to ASSUMING
-rw-r--r--NEWS2
-rwxr-xr-xyarn3
2 files changed, 5 insertions, 0 deletions
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: