tebeka / go2xunit

Convert "go test" output to xunit compatible (used in Jenkins/Hudson)
MIT License
162 stars 46 forks source link

Have a meaningful error if t.Parallel() is enabled. #19

Closed keyneston closed 9 years ago

keyneston commented 9 years ago

Currently if you have t.Parallel() enabled you get an error saying "name mismatch".

This doesn't indicate at all what the error is. Instead there should be a meaningful error informing you that likely you have parallel tests and to please run go test -parallel 1.

tebeka commented 9 years ago

Thanks for reporting, I'll update the message soon-ish.