diff --git a/go-junit-report_test.go b/go-junit-report_test.go index a768603..01fac6e 100644 --- a/go-junit-report_test.go +++ b/go-junit-report_test.go @@ -1591,6 +1591,12 @@ func testNewParser(input, reportFile, packageName string, t *testing.T) { t.Fatal(err) } + if *printEvents { + for _, event := range events { + t.Logf("Event: %+v", event) + } + } + actual := gtr.JUnit(gtr.FromEvents(events, packageName)) expectedXML, err := loadTestReport(reportFile, "")