diff --git a/cmd/junit2md/template/report.md.tmpl b/cmd/junit2md/template/report.md.tmpl index 22e0da0..b734bad 100644 --- a/cmd/junit2md/template/report.md.tmpl +++ b/cmd/junit2md/template/report.md.tmpl @@ -13,7 +13,8 @@ **Total duration**: {{ .Totals.Duration }} -### Details +
+ See details | Status | Name | Class | |--------|------|-------| @@ -27,6 +28,8 @@ {{- end -}} {{end}} +
+ {{if or (gt .Totals.Error 0) (gt .Totals.Failed 0) }} #### Errors {{end}}