Commit Graph

8 Commits

Author SHA1 Message Date
c87388ae59 parser/gotest,junit: Move benchmark grouping to parser/gotest package
Having multiple benchmarks for a single name is something specific to
the gotest output, so grouping benchmarks by name is not something that
belongs in the junit package.
2022-06-08 23:01:01 +01:00
f33a746c85 junit: Simplify the formatOutput function
This function was used in the past to perform some operations on the
individual output lines before joining them together. However, now it's
only used to combine the collection of lines into a single output
string.
2022-06-08 23:01:01 +01:00
0655053883 junit: Move testcase creation from tests and benchmarks to functions 2022-05-21 23:06:44 +01:00
9bc291d7ca junit: Make Testsuites.ID a required field 2022-05-21 14:28:22 +01:00
d2592490b6 junit: Include output in JUnit report for successful tests and benchmarks 2022-05-14 23:36:18 +01:00
df7394c77c Fix cmp.Diff argument order in tests 2022-05-13 21:45:38 +01:00
7c195be87f Do not trim output whitespace prefix
Whitespace prefix of output lines was carried over from the old v1
version, but in some cases it removes too much whitespace. Ideally it
would detect the common prefix of all output lines for a given text and
only trim that. Until that's fixed, let's just stop removing the
whitespace.

Fixes #131
2022-05-13 21:01:49 +01:00
d84b066208 Move packages out of pkg/ 2022-04-20 19:39:05 +01:00