334 Commits

Author SHA1 Message Date
Joël Stemmer
d0cb4ab4a1 Remove unused toXML function from go-junit-report_test 2022-03-20 22:35:50 +00:00
Joël Stemmer
0ff7cae1df Drop new properties when comparing against existing testdata 2022-03-20 22:35:50 +00:00
Joël Stemmer
5007397e33 gtr: Reset active test when encountering a status line
This is to ensure that we don't append output lines that follow after a
status line to the last active test.
2022-03-20 22:35:50 +00:00
Joël Stemmer
f7ae0905a2 gtr: Add support for pause/continue tests 2022-03-20 22:35:50 +00:00
Joël Stemmer
c845dfac27 gtr: Correctly handle packages without tests 2022-03-20 22:35:50 +00:00
Joël Stemmer
9167a5d41d gtr: Add support for runtime/init errors 2022-03-20 22:35:50 +00:00
Joël Stemmer
ffc33941fa gtr, parser/gotest: Add support for build errors 2022-03-20 22:35:50 +00:00
Joël Stemmer
b1b88456c1 gtr: Refactor ReportBuilder flush 2022-03-20 22:35:50 +00:00
Joël Stemmer
52a5393fd3 gtr: Refactor ReportBuilder 2022-03-20 22:35:50 +00:00
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