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/
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.
I'd like
go test -short
to avoid any tests that require reading files or talking to goiardi. Looks liketesting.Short()
andSkip()
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.