From 83fffe4ff056b3d581f2db8d8568883054cf81db Mon Sep 17 00:00:00 2001 From: Ondrej Machulda Date: Thu, 28 May 2015 23:33:04 +0200 Subject: [PATCH 1/3] Do not calculate running time if the test failed with fatal error, also make the fatal status of the test more visible (fixes #6) --- CHANGELOG.md | 1 + src/results.xsl | 67 +++++++++++++++++++++++++++++++------------------ 2 files changed, 43 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 286a560a..af82baa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ ### Fixed - Properly trigger PHPUnit colored (ANSI) mode when Steward itself is in ANSI mode. +- Stop counting test's running time (shown in `results.xml`), if the test ended with fatal error (#6). ## 1.0.0 - 2015-05-09 ### Added diff --git a/src/results.xsl b/src/results.xsl index f5a95abf..d7b32be6 100644 --- a/src/results.xsl +++ b/src/results.xsl @@ -159,34 +159,49 @@ - + + + + - - - success - danger - info - - - - - glyphicon - - glyphicon-ok - glyphicon-remove - glyphicon-question-sign - - - -    - + + + warning +   fatal + + + + + success + danger + info + + + + + glyphicon + + glyphicon-ok + glyphicon-remove + glyphicon-question-sign + + + +    + + + - + + - + + @@ -202,12 +217,13 @@ - + +