mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-03 20:52:47 -05:00
Update go-junit-report to use new parser
This commit is contained in:
@ -1560,13 +1560,27 @@ var testCases = []TestCase{
|
||||
},
|
||||
}
|
||||
|
||||
/*
|
||||
func TestNewOutput(t *testing.T) {
|
||||
matchRegex := compileMatch(t)
|
||||
for _, testCase := range testCases {
|
||||
if !matchRegex.MatchString(testCase.name) {
|
||||
continue
|
||||
}
|
||||
|
||||
t.Run(testCase.name, func(t *testing.T) {
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
func TestParser(t *testing.T) {
|
||||
matchRegex := compileMatch(t)
|
||||
for _, testCase := range testCases {
|
||||
if !matchRegex.MatchString(testCase.name) {
|
||||
continue
|
||||
}
|
||||
t.Logf("Test %s", testCase.name)
|
||||
|
||||
file, err := os.Open("testdata/" + testCase.name)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user