projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfec16
)
Improve detection of failures, part of MKWS-282
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 9 Oct 2014 11:39:50 +0000
(11:39 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 9 Oct 2014 11:39:50 +0000
(11:39 +0000)
1. count number of failed tests
2. check if we run tests at all
test/phantom/run-jasmine.js
patch
|
blob
|
history
diff --git
a/test/phantom/run-jasmine.js
b/test/phantom/run-jasmine.js
index
396417b
..
ef0577a
100644
(file)
--- 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
};
})