thank for the response John. My intention is to run integration test where I specify my test in english (acceptance test driven tests). I dont mind generating the binary but I would like to use the binary to test components such as. 1) if the web server is alive. 2) if a certain url gives me a 202 for a POST/GET etc...
On Friday, April 20, 2018 at 8:26:24 AM UTC-4, John Shahid wrote: > > > Keith Brown <[email protected] <javascript:>> writes: > > > I would like to have a tool for testing infrastructure components. I > > stumbled across Ginkgo. Does anyone use it? > > Yes, it is being used by multiple CloudFoundry projects [1] > > > Does it need a go compiler for tests? > > Yes. > > > My intention is to write simple tests, "Is server up?". "Does the file > > contain abc". But I don't want to have the go compiler installed to > > run the library. Does such a tool exist? > > I'm not sure what you mean by library, but you can pre-compile a test > binary by running `go test -c <pkg> -o a.out'. You loose certain > features by doing so. For example, you won't be able to run the tests in > parallel. > > Hope I answered your question. If not, may be adding more context on > what you're trying to do would help. > > cheers, > > -js > > [1]: https://github.com/cloudfoundry?utf8=%E2%9C%93&q=&type=&language=go > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
