Commit Graph

5 Commits

Author SHA1 Message Date
Joël Stemmer
817a23b10d gtr: Handle end_test events without corresponding run_test event
When running `go test` without the `-v` flag, the output may not contain
everything that we expect. For example, no output is generated for
passing tests. Even for a failing test the output does not contain a
`=== RUN` line.

Currently, this resulted in us ignoring the test result since we
couldn't find an existing test to assign this result to. We should
however handle this situation gracefully, and just assume a test exists
when only encountering a test result line.

References #109
2022-03-20 22:35:50 +00:00
Joël Stemmer
fc0a210dc9 junit: Make failures and errors required fields
Fixes #101
2022-03-20 22:35:50 +00:00
Joël Stemmer
2ece8eae1a gtr: Set hostname and timestamp fields when creating JUnit Testsuite
Fixes #117
2022-03-20 22:35:50 +00:00
Joël Stemmer
c2e4b698fc junit: Create junit package 2022-03-11 21:53:00 +00:00
Joël Stemmer
6a7ce5ecd4 Rename tests to testdata 2018-04-21 18:10:48 +01:00