Skip to content

Commit

Permalink
add description for JUnit test reports
Browse files Browse the repository at this point in the history
  • Loading branch information
gruzchik authored and zegl committed Oct 1, 2024
1 parent 3b4bd66 commit 2979637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renderer/junit/junit.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ func JUnit(scoreCard *scorecard.Scorecard) io.Reader {
}
} else {
for _, comment := range testScore.Comments {
message := comment.Summary
message := comment.Summary + ": " + comment.Description
if comment.Path != "" {
message = "(" + comment.Path + ") " + comment.Summary
message = "(" + comment.Path + ") " + comment.Summary + ": " + comment.Description
}

if testScore.Skipped {
Expand Down

0 comments on commit 2979637

Please sign in to comment.