onsi / ginkgo

A Modern Testing Framework for Go
http://onsi.github.io/ginkgo/
MIT License
8.37k stars 660 forks source link

JSON output to stdout #1485

Open scotty3005 opened 1 week ago

scotty3005 commented 1 week ago

Hi, is there a way to avoid printing anything but what produced by reporting nodes to stdout? We would need to have on stdout only JSON formatted ouput for logging purposes, and we're thinking to use reporting nodes for that. However ever it seems not possible to mute all others ginkgo outputs. Thanks

onsi commented 6 days ago

hey - that is not currently supported. it would not be too hard to add a -mute option or something. if you’re interested in submitting a PR I can show you were to make adjustments.

scotty3005 commented 1 day ago

Hi I would be happy to contribute if I'll have some time. Please show me where can I add the changes. Thanks!