325 Commits

Author SHA1 Message Date
Joël Stemmer
3f9d5b62db gtr, parser/gotest: Move output formatting out of parser 2022-03-20 22:35:50 +00:00
Joël Stemmer
08a21eb096 parser/gotest: Fix output trimming 2022-03-20 22:35:50 +00:00
Joël Stemmer
1563e51b7c gtr: Fix testsuite duration 2022-03-20 22:35:50 +00:00
Joël Stemmer
d2d65ebe03 gtr: Fix skipped test output 2022-03-20 22:35:50 +00:00
Joël Stemmer
824b607642 gtr: Handle coverage events 2022-03-20 22:35:50 +00:00
Joël Stemmer
ff9ad32c55 Modify expected report for backwards compatibility in new tests 2022-03-20 22:35:50 +00:00
Joël Stemmer
cb92a4a6c8 Print events for debugging in tests 2022-03-20 22:35:50 +00:00
Joël Stemmer
02fb5c657b Update new output tests 2022-03-20 22:35:50 +00:00
Joël Stemmer
51ca01beb2 Fix test 08 2022-03-20 22:35:50 +00:00
Joël Stemmer
77ad1709cf gtr: Add default package name to report 2022-03-20 22:35:50 +00:00
Joël Stemmer
79753fd332 parser/gotest: Trim tab prefix from output 2022-03-20 22:35:50 +00:00
Joël Stemmer
5f2324f6d4 gtr: Fix junit testsuites test count 2022-03-20 22:35:50 +00:00
Joël Stemmer
24143bf655 junit: Add junit_test 2022-03-20 22:35:50 +00:00
Joël Stemmer
21222485a4 Test new parser and report generator with existing testdata 2022-03-20 22:35:50 +00:00
Joël Stemmer
a100cfaa5f gtr: Add benchmarks to Report 2022-03-20 22:35:50 +00:00
Joël Stemmer
050e22e86b junit: Omit Testcase attributes if they're empty 2022-03-20 22:35:50 +00:00
Joël Stemmer
88177b5692 parser/gotest: Add test 131 2022-03-20 22:35:50 +00:00
Joël Stemmer
4f6df9492b gtr, parser/gotest: Add test 130 2022-03-20 22:35:50 +00:00
Joël Stemmer
1c800998dd parser/gotest: Add test 30 2022-03-20 22:35:50 +00:00
Joël Stemmer
0219808022 parser/gotest: Add test 32 2022-03-20 22:35:50 +00:00
Joël Stemmer
29fc9e3974 parser/gotest: Add test 31 2022-03-20 22:35:50 +00:00
Joël Stemmer
84801b696c parser/gotest: Add tests 28 and 29 2022-03-20 22:35:50 +00:00
Joël Stemmer
1a0c32347c gtr,parser/gotest: Add test 27 2022-03-20 22:35:50 +00:00
Joël Stemmer
be29a47155 parser/gotest: Add test 26 2022-03-20 22:35:50 +00:00
Joël Stemmer
8ef9ea2965 parser/gotest: Add test 25 2022-03-20 22:35:50 +00:00
Joël Stemmer
3676ed3cca parser/gotest: Add test 24 2022-03-20 22:35:50 +00:00
Joël Stemmer
e33490229b parser/gotest: Add test 23 2022-03-20 22:35:50 +00:00
Joël Stemmer
c03c92d418 gtr,parser/gotest: Improve benchmark output matching 2022-03-20 22:35:50 +00:00
Joël Stemmer
a52c1b921d gtr: Fix naming of Result constants 2022-03-20 22:35:50 +00:00
Joël Stemmer
bac074db96 parser/gotest: Initial support for parsing benchmarks 2022-03-20 22:35:50 +00:00
Joël Stemmer
ff2fc90eeb parser/gotest,gtr: Move Event type to package gtr 2022-03-20 22:35:50 +00:00
Joël Stemmer
72cd8b3697 Update go-junit-report to use new parser 2022-03-20 22:35:47 +00:00
Joël Stemmer
7bc0f1a86b gtr: Extract report builder to separate file 2022-03-11 21:53:02 +00:00
Joël Stemmer
c6349bc2f5 parser/gotest: Make parser/gotest parser stateless 2022-03-11 21:53:02 +00:00
Joël Stemmer
c2e4b698fc junit: Create junit package 2022-03-11 21:53:00 +00:00
Joël Stemmer
41b1555d82 gtr: Add skipped test 2022-03-07 00:09:34 +00:00
Joël Stemmer
bdaa9a9626 gtr: Append output to tests 2022-03-07 00:09:34 +00:00
Joël Stemmer
cc15e48982 gtr: Create package gtr 2022-03-07 00:09:34 +00:00
Joël Stemmer
1cf71a341d parser/gotest: Remove debug printf line 2022-03-07 00:09:34 +00:00
Joël Stemmer
a7ad52d825 parser/gotest: Parse cached tests 2022-03-07 00:09:34 +00:00
Joël Stemmer
76069cb328 parser/gotest: Parse additional parallel output 2022-03-07 00:09:34 +00:00
Joël Stemmer
236bda9d6d parser/gotest: Check for prefix that's not part of end-test 2022-03-07 00:09:34 +00:00
Joël Stemmer
6026e8f15e parser/gotest: Parse package coverage 2022-03-07 00:09:34 +00:00
Joël Stemmer
34ffb9d16d parser/gotest: Remove indent for output, add test for race 2022-03-07 00:09:34 +00:00
Joël Stemmer
42bf91bd4d parser/gotest: Refactor to subtests & add more tests 2022-03-07 00:09:34 +00:00
Joël Stemmer
48c4de6257 parser/gotest: Parse build failures 2022-03-07 00:09:34 +00:00
Joël Stemmer
2e3761de80 parser/gotest: Properly handle subtest prefixes 2022-03-07 00:09:34 +00:00
Joël Stemmer
8ec797a84c parser/gotest: Fix indent detection of test output 2022-03-07 00:09:34 +00:00
Joël Stemmer
73545440ce parser/gotest: Add test for go1.5 test output 2022-03-07 00:09:34 +00:00
Joël Stemmer
a4e60c8339 parser/gotest: Parse coverage from summary lines 2022-03-07 00:09:34 +00:00