Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

same name suite to xml is disorder #67

Open
xuke8 opened this issue Apr 28, 2019 · 4 comments
Open

same name suite to xml is disorder #67

xuke8 opened this issue Apr 28, 2019 · 4 comments

Comments

@xuke8
Copy link

xuke8 commented Apr 28, 2019

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 :

</testcase>
<testcase classname="ReadAndCheckMd5" name="TestCheckMd5" time="0.000">

</testcase>
<testcase classname="ReadAndCheckMd5" name="TearDownSuite" time="0.000">

</testcase>
<testcase classname="ReadAndCheckMd5" name="SetUpSuite" time="0.000">

</testcase>
<testcase classname="ReadAndCheckMd5" name="TestCheckMd5" time="0.000">

</testcase>
<testcase classname="ReadAndCheckMd5" name="TearDownSuite" time="0.000">

</testcase>
<testcase classname="ReadAndCheckMd5" name="SetUpSuite" time="0.000">

</testcase>
<testcase classname="ReadAndCheckMd5" name="TestCheckMd5" time="0.000">

</testcase>
<testcase classname="ReadAndCheckMd5" name="TearDownSuite" time="0.000">

</testcase>
@tebeka
Copy link
Owner

tebeka commented Apr 29, 2019

Thanks for reporting, I'll have a look this week.

@xuke8
Copy link
Author

xuke8 commented Apr 29, 2019

in lib\parsers.go ParseGocheck
if suite == nil || suite.Name != suiteName || tokens[3] == "SetUpSuite" (about L110)

@tebeka
Copy link
Owner

tebeka commented May 5, 2019

Thanks. Can you provide a complete output example? When run the example you pasted I get:

$ cat out.txt| ./go2xunit
error: no tests found

@xuke8
Copy link
Author

xuke8 commented May 5, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants