{{range $ix, $test := .Failed}}
{{$numTest := len $test.Junit}}
{{$firstTest := index $test.Junit 0}}
{{if eq $numTest 1}}
{{$firstTest.ClassName}}: {{$firstTest.Name}} expand_more |
{{$firstTest.Duration}} |
{{$firstTest.Failure}}
{{if $firstTest.Output}}
open stdoutopen_in_new
{{$firstTest.Output}}
{{end}}
|
|
{{else}}
{{$firstTest.ClassName}}: {{$firstTest.Name}} expand_more |
{{range $ixt, $indTest := $test.Junit}}
Run #{{$ixt}}: {{$indTest.Status}} expand_more |
{{$indTest.Duration}} |
{{$indTest.Failure}}
{{if $indTest.Output}}
open stdoutopen_in_new
{{$indTest.Output}}
{{end}}
|
|
{{end}}
|
|
{{end}}
{{end}}
{{end}}
{{if gt $numFlk 0}}
{{range $ix, $test := .Flaky}}
{{$firstTest := index $test.Junit 0}}
{{$firstTest.ClassName}}: {{$firstTest.Name}} expand_more |
{{range $ixt, $indTest := $test.Junit}}
Run #{{$ixt}}: {{$indTest.Status}} expand_more |
{{$indTest.Duration}} |
{{$indTest.Failure}}
{{if $indTest.Output}}
open stdoutopen_in_new
{{$indTest.Output}}
{{end}}
|
|
{{end}}
|
|
{{end}}
{{end}}
{{if gt $numP 0}}
{{range .Passed}}
{{$firstTest := index .Junit 0}}
{{$firstTest.ClassName}}: {{$firstTest.Name}} |
{{$firstTest.Duration}} |
{{end}}
{{end}}
{{if gt $numS 0}}
{{range .Skipped}}
{{$firstTest := index .Junit 0}}
{{$firstTest.ClassName}}: {{$firstTest.Name}} |
{{$firstTest.Duration}} |
{{end}}
{{end}}