# HG changeset patch # User Jan Vrany # Date 1503150195 -3600 # Node ID a7f6c7bc62a80f306315bf43c468543c8c9ade8b # Parent 113031dfa759e9681b69328df34d79e0f967c44b Test report: print system identification in stacktrace Unfortunately, Jenkins's JUnit plugin does not show nor sort failed tests based on their report. This workaround make it easier. diff -r 113031dfa759 -r a7f6c7bc62a8 reports/Builder__TestReportFormat.st --- a/reports/Builder__TestReportFormat.st Sat Mar 11 21:41:58 2017 +0000 +++ b/reports/Builder__TestReportFormat.st Sat Aug 19 14:43:15 2017 +0100 @@ -342,7 +342,7 @@ message := 'unknown exception occurred (no exception details available)' ] ifFalse:[ type := exception class name. - message := exception messageText ifNil:[ exception description ]. + message := exception messageText notNil ifTrue:[ exception description ] ifFalse:[ 'no exception']. ]. @@ -353,6 +353,13 @@ nextPutAll:'" message="'; nextPutAll:(self encode: message); nextPutAll:'">'; @@ -374,7 +381,7 @@ stream flush "Created: / 03-08-2011 / 19:42:17 / Jan Vrany " - "Modified: / 16-09-2014 / 18:55:10 / Jan Vrany " + "Modified: / 19-08-2017 / 14:38:29 / Jan Vrany " ! ! !TestReportFormat::JUnit methodsFor:'writing - utilities'!