joshdk / joshdk/go-junit

Use time in suite if provided

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
64
Forks
27
PR merge metrics
No merged PRs in 30d

Description

I have a junit xml like this:

```xml






























```

(this is from the output of https://www.npmjs.com/package/jest-junit)

### Expected

I expect the suites' totals.duration to match the time mentioned in the `testsuite` itself rather than be the sum of times in testcases.

### Actual

The totals.duration is the sum of the testcases. This leaves out the time spent by the testsuite in setup and teardown which is not part of any 1 individual test case.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.