chef-golang
chef-golang copied to clipboard
go test -short shouldn't require support files, services
I'd like go test -short
to avoid any tests that require reading files or talking to goiardi. Looks like testing.Short()
and Skip()
should handle this sort of thing for us: http://golang.org/pkg/testing/
Once we've got https://github.com/ctdk/goiardi/issues/17, it would be awesome to stop having to run support scripts to run the tests.
In addition most everything for that is requiring a chef-server can be handled by httptest. I view the goiardi stuff as a stop-gap on the way to getting idiomatic go http testing in place.