go-junit-report icon indicating copy to clipboard operation
go-junit-report copied to clipboard

Does this integrate with Goconvey BDD test code?

Open MikeWarren2014 opened this issue 6 years ago • 3 comments

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?

MikeWarren2014 avatar Nov 06 '18 18:11 MikeWarren2014

+1

chrischris292 avatar Jul 10 '19 22:07 chrischris292

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.

jstemmer avatar Feb 24 '22 23:02 jstemmer

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.

tstraley avatar Nov 01 '22 22:11 tstraley