When shelling out for a CLI test the error returned from the Start() command prints the exit code which is not very informative. Capturing and printing stderr is a lot more useful. |
||
|---|---|---|
| .. | ||
| main_test.go | ||
When shelling out for a CLI test the error returned from the Start() command prints the exit code which is not very informative. Capturing and printing stderr is a lot more useful. |
||
|---|---|---|
| .. | ||
| main_test.go | ||