From: Wolfram Schneider Date: Thu, 9 Oct 2014 11:39:50 +0000 (+0000) Subject: Improve detection of failures, part of MKWS-282 X-Git-Tag: 1.0.0~280 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=c13288e68f121994577e94010c3cc332a1fb0908 Improve detection of failures, part of MKWS-282 1. count number of failed tests 2. check if we run tests at all --- diff --git a/test/phantom/run-jasmine.js b/test/phantom/run-jasmine.js index 396417b..ef0577a 100644 --- a/test/phantom/run-jasmine.js +++ b/test/phantom/run-jasmine.js @@ -136,7 +136,7 @@ page.open(url, function (status) { html: $("html").html(), duration: $(".duration").text(), error_msg: error_msg, - failed: list.length, + failed: (list.length > 0 || !passing), passing: passing }; })