jstemmer / go-junit-report

Convert Go test output to JUnit XML
MIT License
776 stars 224 forks source link

associate filename with test #57

Closed thibaultfalque closed 6 years ago

thibaultfalque commented 7 years ago

Hi, I use your tools for my sonarqube plugin.

In sonarqube we must associate the tests with the test file.

But actually all the tests is associate with the package. So is it possible adding the information about the filename that contain the test ?

Thanks. Regards.

jstemmer commented 7 years ago

The go test -v output often doesn't contain the file name, in those cases it wouldn't be possible to associate the file with the test.

thibaultfalque commented 7 years ago

hi @jstemmer Thanks for your answer. I have created an issue for go test.

Thanks.