From 314f53c4afae7584c4ddcc81c695b4de3387b871 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 19 Apr 2015 22:35:58 +0300 Subject: Failed scenarios are listed at the end of output This is useful when yarn is run by Jenkins or similar system. --- yarn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yarn b/yarn index cff8e88..9615e5b 100755 --- a/yarn +++ b/yarn @@ -150,6 +150,9 @@ class YarnRunner(cliapp.Application): self.ts.finish() if failed_scenarios: + self.error('Failed scenarios:') + for scenario in failed_scenarios: + self.error(' - %s' % scenario.name) raise cliapp.AppException( 'Test suite FAILED in %s scenarios' % len(failed_scenarios)) -- cgit v1.2.1