go-junit-report
go-junit-report copied to clipboard
Does this integrate with Goconvey BDD test code?
I have stumbled upon, and recently made use of, the Goconvey BDD framework. It is, as BDD frameworks usually are, great. Unfortunately, the test reports are not exportable.
Will this tool run, and report any test fails on, Goconvey code?
+1
go-junit-report currently doesn't support any output generated by third party test frameworks. Supporting other testing frameworks may be something to consider in the future.
We use goconvey in our tests and execute our tests with go test -v 2>&1 | tee >(go-junit-report > test-report.xml)
. This gives the useful BDD formatted output, and still generates the xml report correctly, including test failures. No issues with go-junit-report v1.0.0.