diff --git a/src/main/java/hudson/plugins/testng/results/PackageResult.java b/src/main/java/hudson/plugins/testng/results/PackageResult.java index f5bd3d0f..7ef62151 100644 --- a/src/main/java/hudson/plugins/testng/results/PackageResult.java +++ b/src/main/java/hudson/plugins/testng/results/PackageResult.java @@ -149,6 +149,8 @@ private String getMethodExecutionTableContent(List mrList) { sb.append(""); sb.append(mr.getParent().getName()).append(".").append(mr.getName()); sb.append(""); + sb.append(""); + sb.append(mr.getDescription()); sb.append(""); sb.append(FormatUtil.formatTime(mr.getDuration())); sb.append(""); diff --git a/src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.groovy b/src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.groovy index 838630d1..ecf83b13 100644 --- a/src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.groovy +++ b/src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.groovy @@ -33,7 +33,7 @@ for (group in my.testRunMap.values()) { th(class:"pane-header", style:"width:5em", title:"Duration") { text("Duration") } - th(class:"pane-header", style:"width:5em", title:"Start time") { + th(class:"pane-header", style:"width:15em", title:"Start time") { text("Start Time") } th(class:"pane-header", style:"width:5em", title:"Status") { @@ -104,7 +104,7 @@ for (group in my.testRunMap.values()) { th(class:"pane-header", style:"width:5em", title:"Duration") { text("Duration") } - th(class:"pane-header", style:"width:5em", title:"Start time") { + th(class:"pane-header", style:"width:15em", title:"Start time") { text("Start Time") } th(class:"pane-header", style:"width:5em", title:"Status") { diff --git a/src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.groovy b/src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.groovy index 19dde57c..fe1c0c38 100644 --- a/src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.groovy +++ b/src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.groovy @@ -59,7 +59,7 @@ div(id: "report") { table(border: "1px", class: "pane", id: "params", style: "white-space:normal") { thead() { tr() { - th(class: "pane-header", style: "width:5em;") + th(class: "pane-header", style: "width:6.5em;") th(class: "pane-header", title: "parameter value") { text("Value") } @@ -88,7 +88,7 @@ div(id: "report") { if (my.reporterOutput) { div(id: "reporter-output") { h3("Reporter Output") - code(style: "white-space:pre; margin-left:15px; display:block; border:1px black; background-color:#F0F0F0") { + code(style: "white-space:pre-wrap; margin-left:15px; display:block; border:1px black; background-color:#F0F0F0") { raw("${my.reporterOutput}") } } diff --git a/src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy b/src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy index 2337172d..2db07f9c 100644 --- a/src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy +++ b/src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy @@ -115,10 +115,13 @@ if (my.sortedTestMethodsByStartTime) { th(class:"pane-header", title:"Method") { text("Method") } + th(class:"pane-header", title:"Description") { + text("Description") + } th(class:"pane-header", style:"width:5em", title:"Duration") { text("Duration") } - th(class:"pane-header", style:"width:5em", title:"Start Time") { + th(class:"pane-header", style:"width:15em", title:"Start Time") { text("Start Time") } th(class:"pane-header", style:"width:5em", title:"Status") {