Skip to content

system-out is never placed under the correct testcase #175

@epot

Description

@epot

I am trying to leverage this tool to send my go ci reports and logs to Datadog.

Sadly, it seems that no matter what options I try, the system-out is always put at the testsuite level, for instance:

	<testsuite name="github.com/xxx/pkg/xx" tests="1" failures="1" errors="0" id="75" hostname="stuff.local" time="5.499" timestamp="2023-11-02T09:50:29+01:00">
		<testcase name="TestDeleteSomething" classname="github.com/x/pkg/xx" time="0.000">
			<failure message="Failed"><![CDATA[    controller_test.go:289: 
        	Error Trace:	/Users/epot/ws/xxx/pkg/xx/controller_test.go:289
        	Error:      	Should be true
        	Test:       	TestDeleteSomething]]></failure>
		</testcase>
		<system-out><![CDATA[2023/11/02 09:50:24 maxprocs: Leaving GOMAXPROCS=12: CPU quota undefined]]></system-out>
	</testsuite>

Is it something not supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions