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
Joël Stemmer
a58f8f1a19
parser/gotest: Add support for parsing go test coverage
2022-03-07 00:09:34 +00:00
Joël Stemmer
c5559de1a8
parser/gotest: Add tests for compiled test output and parallel test output
2022-03-07 00:09:34 +00:00
Joël Stemmer
a6b3b6f974
parser/gotest: Add tests for go1.4 output and multiple packages
2022-03-07 00:09:34 +00:00
Joël Stemmer
caf696a15d
parser/gotest: Add test for skipped tests
2022-03-07 00:09:34 +00:00
Joël Stemmer
0512acf25e
parser/gotest: Handle test output logging
2022-03-07 00:09:34 +00:00
Joël Stemmer
292d0c814b
parser/gotest: Initial version of package parser/gotest
2022-03-07 00:09:30 +00:00
Joël Stemmer
5b78a29c68
Create a v2 module and bump version to v2.0.0-dev
...
The old parser and formatter packages will be replaced with new packages
that are not backwards compatible. For this reason we must increment the
major version of this module.
2022-03-06 23:49:00 +00:00
Joël Stemmer
2a37e36ac6
Add test for benchmarks with MB/s
2022-03-06 23:03:55 +00:00
Joël Stemmer
d5de2960fd
Remove travis config
...
This has been replaced by a Github Actions workflow.
2022-02-26 23:39:52 +00:00
Joël Stemmer
e0c48d5051
Configure Github Actions to automatically run tests
2022-02-26 23:31:29 +00:00
Joël Stemmer
16c7efad77
Bump version to v1.0.0
v1.0.0
2022-02-24 22:01:24 +00:00
Joël Stemmer
b61b86b9a7
Update README and contributing guidelines
...
- Add new section for installing go-junit-report from pre-built
binaries.
- The instructions for installing from source have been updated to use
`go install`, now that `go get` is being deprecated, see #124 .
- Move contributing guidelines to separate `CONTRIBUTING.md` file.
2022-02-24 22:00:47 +00:00
Joël Stemmer
26cb193214
Create Makefile to help build releases
2022-02-23 22:39:48 +00:00
Joël Stemmer
b2b06e7a1e
Add -version flag to print current version
2022-02-19 14:35:37 +00:00
Joël Stemmer
984a47ca6b
Update Travis build status badge to use master branch
2019-10-08 20:53:20 +01:00
Joël Stemmer
cc1f095d5c
Specify correct minimum go version in go.mod
v0.9.1
2019-10-04 20:55:37 +01:00
Joël Stemmer
c92ec55ec6
Create go.mod file
v0.9.0
2019-10-04 00:10:55 +01:00
Joël Stemmer
27e2e8f782
Print usage on flag error
2019-10-04 00:05:01 +01:00
Joël Stemmer
f79a156ed8
Define flags directly and remove init function
2019-10-04 00:03:12 +01:00
Joël Stemmer
45752f2672
Reorganize README
...
Move the contribution section to the bottom and fix the formatting of
the test section.
2019-10-04 00:02:18 +01:00
Joël Stemmer
1b8b67371c
Report testsuite failures even if all tests succeeded
...
Fixes #87
2019-10-03 23:53:41 +01:00
Joël Stemmer
8b849e7995
Merge pull request #96 from themichaellai/master
...
Parse package name output when test binary name is included
2019-10-03 22:58:14 +01:00
Joël Stemmer
080dff894f
Merge pull request #93 from johnSchnake/unmarshalSuites
...
Adjust xml annotations to allow unmarshal of test suites
2019-10-03 22:11:10 +01:00
Michael Lai
6315b3013b
Parse package name output when test binary name is included
...
Sometimes, the text after "# " shows the name of the test binary
("<package>.test") in addition to the package
e.g.: "# package/name [package/name.test]".
This change ensures that the packages' build outputs are associated
correctly in this case.
2019-09-18 17:44:54 -07:00
John Schnake
c6aeb8e0a5
Adjust xml annotations to allow unmarshal of test suites
...
The xml annotations currently used allow for marshalling of
the test suites but fail to unmarshal them because of the
lack of an xml annotation on the slice fields for test suites
and test cases.
By adding those annotations, these types can be more widely reused.
Fixes #92
2019-08-20 21:37:56 -05:00
Joël Stemmer
af01ea7f80
Merge pull request #82 from mark-rushakoff/cli-reject-positional-args
...
Reject positional CLI arguments
2019-01-06 14:48:39 +00:00
Joël Stemmer
55f6716122
Merge pull request #83 from liggitt/test-output
...
Include test output and stdout in test failures
2019-01-06 14:36:47 +00:00
Jordan Liggitt
9c3d9dadf6
Include test output and stdout in test failures
2018-12-21 13:39:33 -05:00
Mark Rushakoff
63c2422f96
Reject positional CLI arguments
...
My team spent a bit of time debugging a mistake where we forgot to
redirect output to a file. The command looked valid and exited 0. This
change causes the program to fail if provided with any positional
arguments.
2018-12-13 11:41:34 -08:00
Joël Stemmer
385fac0ced
Merge pull request #76 from PascalBourdier/master
...
fix path in doc
2018-06-14 15:38:34 +01:00
PascalB
8a7cf56401
fix path in doc
...
avoid an error like this :
-bash: ./go-junit-report: No such file or directory
2018-06-14 16:12:03 +02:00