Add unit test coverage for util.RunCommand #78
Labels
good first issue
Good for newcomers
help wanted
We would love to have this done, but don't have the bandwidth, need help from contributors
meta/testing
Issues focused on testing Skaffold itself
We should add info and debug level logging to this function also. As we add more build and deploy implementations, we'll be using this a lot so it should have good test coverage.
To test exec.Command, we can shell out to the test binary like the std library does https://github.com/golang/go/blob/master/src/os/exec/exec_test.go#L33
We can also use the fake readclosers in our testutil package.
The text was updated successfully, but these errors were encountered: