3 Commits

Author SHA1 Message Date
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