ginkgo
ginkgo copied to clipboard
-exec support for `ginkgo run`
go test -exec sudo ./... allows running the tests binary(s) via another binary such as sudo, instead of running them directly. This allows running tests which require root privileges without the need to compile the test binaries as root. Would it be possible to support -exec as go test -exec foo does?
hey @TheDiveO sorry for the delay.
yes I imagine ginkgo -exec would be relatively straightforward to implement. I can add this to the 2.1 docket and hope to ship 2.0 asap.
Sorry, I totally forgot about this. I'm going through and culling old/resolved issues but will keep this one around and try to get to it.
That's blocking me from using ginkgo directly with some of its features especially in pipelines, but only via go test -exec sudo ...