smartystreets / goconvey

Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
http://smartystreets.github.io/goconvey/
Other
8.23k stars 555 forks source link

Potential error parsing output of [path]; couldn't handle this stray line #462

Open vrecan opened 7 years ago

vrecan commented 7 years ago

after updating to the newest goconvey it fails to parse any of the output from the coverage reports using go 1.7.3. This was also tested on go 1.7.1 and I got the same results. The seem to get run though. raw errors:

Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: directory in which to write profiles
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: -test.parallel int
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: maximum test parallelism (default 16)
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: -test.run string
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: regular expression to select tests and examples to run
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: -test.short
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: run smaller test suite to save time
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: -test.timeout duration
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: if positive, sets an aggregate time limit for all tests
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: -test.trace string
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: write an execution trace to the named file after execution
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: -test.v
Potential error parsing output of github.schq.secious.com/UltraViolet/Winston/maintenance ; couldn't handle this stray line: verbose: print additional output
vrecan commented 7 years ago

if I run go test -cover everything works. Same thing if I add -json.

vrecan commented 7 years ago

This seems to be caused by the project having a different version of goconvey vendored...

aukgit commented 10 months ago

Hey @vrecan

What is the fix or solution of this problem?

https://github.com/smartystreets/goconvey/issues/682