Skip to content

Commit

Permalink
fix: TestSuiteXML is missing the Time property (ovh#627)
Browse files Browse the repository at this point in the history
Value is converted from float64 to string. This will resolve gh actions test reporters for junit xml, showing missing test suite time execution values

Signed-off-by: Ivan Velasco <ivan.velasco@socotra.com>
  • Loading branch information
ivan-velasco committed Sep 20, 2023
1 parent c68eb95 commit 0982e44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions venom_output.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func outputXMLFormat(tests Tests) ([]byte, error) {
tsXML := TestSuiteXML{
Name: ts.Name,
Package: ts.Filepath,
Time: fmt.Sprintf("%f", ts.Duration),
}

for _, tc := range ts.TestCases {
Expand Down

0 comments on commit 0982e44

Please sign in to comment.