Re: [go-nuts] using ginkgo

2018-04-25 Thread Keith Brown
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  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  -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===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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] using ginkgo

2018-04-20 Thread unknown

Keith Brown  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  -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===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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] using ginkgo

2018-04-19 Thread Keith Brown
I would like to have a tool for testing infrastructure components. I 
stumbled across Ginkgo. Does anyone use it?  Does it need a go compiler for 
tests? 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?


-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.