Open xuke8 opened 5 years ago
Thanks for reporting, I'll have a look this week.
in lib\parsers.go ParseGocheck if suite == nil || suite.Name != suiteName || tokens[3] == "SetUpSuite" (about L110)
Thanks. Can you provide a complete output example? When run the example you pasted I get:
$ cat out.txt| ./go2xunit
error: no tests found
发件人: Miki Tebeka notifications@github.com 发送时间: 2019年5月5日 11:45 收件人: tebeka/go2xunit go2xunit@noreply.github.com 抄送: 许珂 xuke8@jd.com; Author author@noreply.github.com 主题: Re: [tebeka/go2xunit] same name suite to xml is disorder (#67) 重要性: 高
Thanks. Can you provide a complete output example? When run the example you pasted I get:
$ cat out.txt| ./go2xunit
error: no tests found
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tebeka/go2xunit/issues/67#issuecomment-489386730, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJMSDO2K27UMOIOEJYO5JSDPTZJ4TANCNFSM4HI6D6WA.
the input : START: .../vol_read_check_md5.go:27: ReadAndCheckMd5.SetUpSuite add md5map:volkey:[vol1] md5map:[[19a539524d5ac75f3e29ac969c352abf 797addd2e79e583c91109e40b1598be7 797addd2e79e583c91109e40b1598be7]] PASS: .../vol_read_check_md5.go:27: ReadAndCheckMd5.SetUpSuite 37.806s
START: .../vol_read_check_md5.go:54: ReadAndCheckMd5.TestCheckMd5 check obj=>key:[vol1],seq:[3] md5 check array:[[797addd2e79e583c91109e40b1598be7]] check obj=>key:[vol1],seq:[2] md5 check array:[[797addd2e79e583c91109e40b1598be7 797addd2e79e583c91109e40b1598be7]] checkarr[0]:797addd2e79e583c91109e40b1598be7 =? checkarr[1]:797addd2e79e583c91109e40b1598be7 PASS: .../vol_read_check_md5.go:54: ReadAndCheckMd5.TestCheckMd5 0.000s
START: .../vol_read_check_md5.go:50: ReadAndCheckMd5.TearDownSuite PASS: .../vol_read_check_md5.go:50: ReadAndCheckMd5.TearDownSuite 0.000s
output :