get.porter.sh/porter@v1.3.0/pkg/porter/main_test.go (about) 1 package porter 2 3 import ( 4 "testing" 5 6 "get.porter.sh/porter/pkg/test" 7 ) 8 9 // sad hack: not sure how to make a common test main for all my subpackages 10 func TestMain(m *testing.M) { 11 test.TestMainWithMockedCommandHandlers(m) 12 }