Any Go test runner that supports JUnit with file paths?

I’m trying to run go tests in my CI and go test / gotestsum don’t add the file path of the test they add to each testcase in the JUnit.
Do you know a way to add the test file path like so (eg file=)?
<testcase classname="github.com/demisto/server/repo/logicalRepo" name="TestSort" file=RELATIVE_FILEPATH time="2.070000"/>

Without it, I can’t use CircleCI’s time-based splitting.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.