6 Commits

Author SHA1 Message Date
Joël Stemmer
075629ad5f junit: Add Testsuites.WriteXML method 2022-09-30 23:04:10 +01:00
Joël Stemmer
395886ab94 Revert "internal: make timestampFunc private"
This reverts commit dcbbd9fb228a8ac978f04dbb1d66570942bd24ba and fixes
testdata/generate-golden-reports.go.
2022-05-22 20:56:39 +01:00
Joël Stemmer
9ad16898a8 Add -subtest-mode flag to configure SubtestMode 2022-05-22 00:44:20 +01:00
Joël Stemmer
b4847b2e36 internal: move gotest.Options creation into separate function
The gotest and gojson parsers use the same options (for now). To avoid
duplication the list of parser options is created in a separate
function.
2022-05-21 22:44:38 +01:00
Joël Stemmer
dcbbd9fb22 internal: make timestampFunc private 2022-05-21 22:42:36 +01:00
Joël Stemmer
3260a9d2e0 Move common go-junit-report code into separate internal package
There was some code duplication between the go-junit-report binary, its
tests and the testdata/generate-golden script. This has been moved into
an internal package. The go-junit-report binary can now just focus on
flag parsing and validation, and it should be less likely that the
binary, tests and golden report generator behave differently.
2022-04-20 19:43:03 +01:00