jstemmer / go-junit-report

Convert Go test output to JUnit XML
MIT License
763 stars 222 forks source link

Add AssumeNoBuildOutput option #176

Open jkz-stripe opened 7 months ago

jkz-stripe commented 7 months ago

We use the go-junit-report libraries in a context where we know that the build has already completed. As such some tests have been written that produce output that looks like build output, but is not. This option allows the parser to work in this context.

This PR adds an option, AssumeNoBuildOutput that skips attempts at build output recognition. A test case for this behavior is included.