package datapreprocessor import ( "os" "path/filepath" "testing" ) func TestMain(t *testing.T) { pathDir, err := os.Getwd() t.Log(pathDir) pathDir = filepath.Join(pathDir, "..", "..", "..") if err != nil { t.Logf("%#v\n", err) } t.Log(pathDir) //Main(pathDir) }