Commit Graph

  • 85bf4716ac Bump dev version master Joël Stemmer 2023-10-19 00:36:43 +01:00
  • 14d61e6e75 Release v2.1.0 v2.1.0 Joël Stemmer 2023-10-19 00:26:39 +01:00
  • a24b123bbb
    Merge pull request #170 from sdowell/gotest-parsing Joël Stemmer 2023-10-18 23:54:16 +01:00
  • 506f0123d0 Update workflow to use the latest stable Go versions Joël Stemmer 2023-10-18 23:52:02 +01:00
  • 8a66d8a276 fix: properly parse resume prefix for gotest 1.20 Sam Dowell 2023-09-21 14:16:36 -07:00
  • 7933520f1e
    Merge pull request #157 from nipeharefa/add-darwin-arm Joël Stemmer 2023-03-21 23:12:45 +00:00
  • aab80035bb
    Merge pull request #161 from cameron-dunn-sublime/accurate-test-run-at Joël Stemmer 2023-03-21 23:03:25 +00:00
  • 145d8019af Accurate test timestamps by moving ProcessEvent Cameron Dunn 2023-03-15 10:38:27 -07:00
  • e99b497c13 add darwin arm Nipe Setiawan Harefa 2023-01-30 00:37:24 +07:00
  • bfac3ec01f
    Merge pull request #155 from greg-dennis/patch-1 Joël Stemmer 2022-12-11 17:24:25 +00:00
  • 3ab645c5e0
    Fix typo in comment Greg Dennis 2022-12-08 09:12:37 -05:00
  • e939e4f120 gtr: Fix typo in comments Joël Stemmer 2022-09-30 23:07:42 +01:00
  • ce2d6b2372 Add go report card badge to README Joël Stemmer 2022-09-30 23:16:36 +01:00
  • 075629ad5f junit: Add Testsuites.WriteXML method Joël Stemmer 2022-09-27 21:04:24 +01:00
  • b1271c39f9 Restrict Github workflow job permissions Joël Stemmer 2022-09-30 22:48:06 +01:00
  • 79c139d4b9 Add pkg.go.dev badge to README Joël Stemmer 2022-09-29 21:51:37 +01:00
  • 292aab72b9 parser/gotest: Only run fuzz tests on Go versions that support it Joël Stemmer 2022-09-27 22:01:02 +01:00
  • 9b4f5520f7 Add test for reports without properties Joël Stemmer 2022-09-27 21:27:34 +01:00
  • 3445b88cb1 parser/gotest: Add fuzzing test for parseLine Joël Stemmer 2022-09-24 20:52:08 +01:00
  • f50ae24655
    Merge pull request #144 from kevinxw/master Joël Stemmer 2022-09-22 23:24:50 +01:00
  • 03f6f9e2dc
    Merge branch 'jstemmer:master' into master Kevin 2022-09-22 12:48:14 -07:00
  • 9c64855bf7 Fix regular expression for summary with "no statements" coverage. kevinwang 2022-08-29 18:58:51 +00:00
  • 934b104ddd junit: Remove properties helper function in junit_test.go Joël Stemmer 2022-09-17 22:37:47 +01:00
  • 2b3d79c572 junit: Specify unicode replacement character as \uFFFD Joël Stemmer 2022-09-17 22:33:04 +01:00
  • 84a5190347
    Escape illegal XML characters in junit output (#140) Tomasz Janiszewski 2022-09-17 23:26:44 +02:00
  • 97e0285183 parser/gotest: Handle build errors in test packages with _test suffix Joël Stemmer 2022-09-17 01:05:30 +01:00
  • 81e5aaaaf1 parser/gotest: Make sure every build error is processed Joël Stemmer 2022-09-17 00:57:10 +01:00
  • cb3436fc5f parser/gotest: Do not ignore failures in a test summary Joël Stemmer 2022-09-17 00:06:11 +01:00
  • 77475bf23b parser/gotest: Fix test error messages in report_builder_test.go Joël Stemmer 2022-09-17 00:03:11 +01:00
  • 7b10b42854
    Merge pull request #141 from jstemmer/refactor-report-builder Joël Stemmer 2022-08-23 23:04:51 +01:00
  • c796dcf8d1 junit: Remove unused indent parameter from formatOutput function Joël Stemmer 2022-08-23 23:04:15 +01:00
  • 917d9f7023
    Merge pull request #143 from greg-dennis/master Joël Stemmer 2022-08-23 23:03:23 +01:00
  • bf9aa098bb Fix SetProperty and add unit test. greg-dennis 2022-08-23 13:53:51 -04:00
  • 15d215e49d Report stores a slice of Property structs rather than a map, to mimic JUnit properties, which have a deterministic ordering and allow multipler properties with the same name. greg-dennis 2022-08-23 10:41:42 -04:00
  • 35c4d8a827
    Merge pull request #142 from greg-dennis/patch-1 Joël Stemmer 2022-08-19 21:31:31 +01:00
  • 39473dc54e
    go-junit-report_test should fail if no files found Greg Dennis 2022-08-19 10:55:25 -04:00
  • 4d0ed8b681 Add testdata for go test -json -race tests. Joël Stemmer 2022-08-11 23:59:19 +01:00
  • 9357c180d4 parser/gotest: Add support for processing events for different packages Joël Stemmer 2022-08-13 22:26:06 +01:00
  • 85f2715ac9 parser/gotest: Create JSONEventReader in internal reader package Joël Stemmer 2022-08-11 23:58:06 +01:00
  • bd21d54501 parser/gotest: Add Package to Event Joël Stemmer 2022-08-11 23:54:11 +01:00
  • f6f9df42b9 parser/gotest: Create interface for reading lines with metadata Joël Stemmer 2022-08-11 23:48:41 +01:00
  • 27ad87e370 parser/gotest: parseLine now returns the events it creates Joël Stemmer 2022-08-11 23:29:28 +01:00
  • 2af321a697 parser/gotest: Refactor benchmark grouping Joël Stemmer 2022-08-15 22:05:38 +01:00
  • b73e4a9ed5 parser/gotest: Remove unnecessary if statement when creating a package Joël Stemmer 2022-08-13 22:06:49 +01:00
  • 4ce910564c parser/gotest: timestampFunc should always be set, skip nil check Joël Stemmer 2022-08-13 21:59:50 +01:00
  • 1c826cb28d parser/gotest: Switch to output collector for active id tracking Joël Stemmer 2022-08-13 17:10:15 +01:00
  • 83ca558534 parser/gotest: Return created id from CreateTest method Joël Stemmer 2022-08-13 17:08:43 +01:00
  • 50c1179050 parser/gotest: Remove benchmark specific methods from reportBuilder Joël Stemmer 2022-08-13 17:06:14 +01:00
  • 9d434fa4b4 parser/gotest: Implement active id tracking in output collector Joël Stemmer 2022-08-13 17:03:27 +01:00
  • d6bf22343d parser/gotest: Move event processing into reportBuilder Joël Stemmer 2022-08-11 23:07:30 +01:00
  • 0fc43a220a internal/gojunitreport: Refactor testFileConfig to drop else block Joël Stemmer 2022-08-11 00:49:55 +01:00
  • ddf6b16828 Replace += 1 with ++ Joël Stemmer 2022-08-11 00:49:39 +01:00
  • fbfb33add1 junit: Use consistent receiver name Joël Stemmer 2022-08-11 00:49:13 +01:00
  • 5616b5e921 Add missing godoc on exported types Joël Stemmer 2022-08-11 00:47:46 +01:00
  • 066da07a49 Add go1.19 and remove go1.17 from workflow Joël Stemmer 2022-08-03 23:40:07 +01:00
  • d75fb6d4c3 parser/gotest: Remove unused runErrors field from reportBuilder Joël Stemmer 2022-07-20 14:29:24 +01:00
  • 01f2cdde22 parser/gotest: Use the new LimitedLineReader in the gotest parser Joël Stemmer 2022-07-18 23:00:46 +01:00
  • 3e3223a05b parser/gotest: Create LimitedLineReader Joël Stemmer 2022-07-18 22:38:36 +01:00
  • 80a51f2ed0 parser/gotest: Move const declaration to top of file Joël Stemmer 2022-07-18 22:37:49 +01:00
  • 3d712f2417 junit: Don't include File attribute when it's empty Joël Stemmer 2022-07-07 00:19:59 +01:00
  • 03010d4a32 junit: Add File attribute to testsuite Aleksandr Lyubenkov 2020-08-12 18:44:09 +03:00
  • 88ec9224c5 Fix broken pkg.go.dev links in README Joël Stemmer 2022-07-02 22:00:11 +01:00
  • fca6708da0 Add v2.0.0 changelog to README Joël Stemmer 2022-07-02 14:21:31 +01:00
  • dfab75c90e Update install from source instructions in README Joël Stemmer 2022-07-01 23:16:44 +01:00
  • 7fde4641ac Use ioutil package for compatibility with Go 1.13 v2.0.0 Joël Stemmer 2022-07-01 22:53:57 +01:00
  • 19190fdfd3 Add min supported and two most recent Go versions to workflow Joël Stemmer 2022-07-01 22:43:36 +01:00
  • 63e0c8be15 junit: Improve test coverage of junit.CreateFromReport Joël Stemmer 2022-06-26 14:54:57 +01:00
  • f643780c47 parser/gotest: Add tests for internal package collector Joël Stemmer 2022-06-26 14:23:58 +01:00
  • 079e5ce7ea parser/gotest: Add support for parsing lines longer than 64K Joël Stemmer 2022-06-26 00:36:19 +01:00
  • 7875e13422 parser/gotest: Move NewParser function below Parser struct Joël Stemmer 2022-06-25 23:54:07 +01:00
  • 8648745762 parser/gotest: Don't ignore output when there were no tests Joël Stemmer 2022-06-25 00:01:03 +01:00
  • d84b41a3f9 Update gitub.com/google/go-cmp dependency to v0.5.8 Joël Stemmer 2022-06-13 23:35:46 +01:00
  • da6551b8c0 gtr,parser/gotest: Remove gtr.Benchmark and use gtr.Test for all tests Joël Stemmer 2022-06-15 23:33:13 +01:00
  • dc591b8731 junit: Remove benchmark specific code from package junit Joël Stemmer 2022-06-15 00:08:18 +01:00
  • 46e0aed494 gtr: Also look at failures in benchmarks when creating a package Joël Stemmer 2022-06-13 00:47:28 +01:00
  • d05abd4130 junit: Include output in JUnit report for skipped and failed benchmarks Joël Stemmer 2022-06-13 00:34:20 +01:00
  • f1ad02b733 junit: Use the standard duration formatting for benchmark durations Joël Stemmer 2022-06-12 23:02:01 +01:00
  • 1d905e0b1c gtr: Improve accuracy of benchmark duration calculation Joël Stemmer 2022-06-12 22:56:04 +01:00
  • 9a1666d75c gtr,junit: Move Benchmark duration calculation to gtr package Joël Stemmer 2022-06-12 22:54:12 +01:00
  • cb055227b7 parser/gotest: Improve gotest output handling Joël Stemmer 2022-06-08 22:51:54 +01:00
  • 5331b9b8d6 parser/gotest: Create output collector that preserves the line order Joël Stemmer 2022-06-07 01:19:32 +01:00
  • d2480a6059 parser/gotest: Skip ID 0 when searching for existing tests or benchmarks Joël Stemmer 2022-06-07 00:58:39 +01:00
  • 2f7bf7c3bc parser/gotest: Set unique Test, Benchmark and Error ID's Joël Stemmer 2022-06-07 00:47:31 +01:00
  • 5d691c7896 testdata: Regenerate benchmark test data and add logging Joël Stemmer 2022-05-22 20:52:16 +01:00
  • b95e18cd5c gtr: Add ID fields to Test, Benchmark and Error structs Joël Stemmer 2022-06-07 00:23:29 +01:00
  • c87388ae59 parser/gotest,junit: Move benchmark grouping to parser/gotest package Joël Stemmer 2022-05-29 22:51:11 +01:00
  • f33a746c85 junit: Simplify the formatOutput function Joël Stemmer 2022-06-08 22:59:07 +01:00
  • 395886ab94 Revert "internal: make timestampFunc private" Joël Stemmer 2022-05-22 20:41:00 +01:00
  • 84074a188c parser/gotest: remove debugging printf from reportBuilder Joël Stemmer 2022-05-22 00:50:12 +01:00
  • 9ad16898a8 Add -subtest-mode flag to configure SubtestMode Joël Stemmer 2022-05-22 00:34:05 +01:00
  • 1b7027fde7 parser/gotest: add SubtestMode to configure how to deal with subtests Joël Stemmer 2022-05-22 00:32:17 +01:00
  • 6c038bc425 parser/gotest: never reset nextID in report builder to ensure unique ids Joël Stemmer 2022-05-21 23:29:24 +01:00
  • 01f41237f7 parser/gotest: continue with next item when we find a test or benchmark Joël Stemmer 2022-05-21 23:19:41 +01:00
  • 0655053883 junit: Move testcase creation from tests and benchmarks to functions Joël Stemmer 2022-05-21 23:06:44 +01:00
  • b4847b2e36 internal: move gotest.Options creation into separate function Joël Stemmer 2022-05-21 22:44:38 +01:00
  • dcbbd9fb22 internal: make timestampFunc private Joël Stemmer 2022-05-21 22:42:36 +01:00
  • b5d2695c26 parser/gotest: return a separate bool instead of a negative id in find* Joël Stemmer 2022-05-21 22:26:00 +01:00
  • f97910c4b9 parser/gotest: Make reportBuilder options private Joël Stemmer 2022-05-21 22:16:55 +01:00
  • ae7e71c599 parser/gotest: rename Id -> ID Joël Stemmer 2022-05-21 18:48:07 +01:00
  • 9bc291d7ca junit: Make Testsuites.ID a required field Joël Stemmer 2022-05-21 14:28:22 +01:00