MCPcopy Index your code
hub / github.com/codegangsta/gin / Test_Runner_Run

Function Test_Runner_Run

lib/runner_test.go:27–37  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25}
26
27func Test_Runner_Run(t *testing.T) {
28 bin := filepath.Join("test_fixtures", "writing_output")
29 if runtime.GOOS == "windows" {
30 bin += ".bat"
31 }
32 runner := gin.NewRunner(bin)
33
34 cmd, err := runner.Run()
35 expect(t, err, nil)
36 expect(t, cmd.Process == nil, false)
37}
38
39// func Test_Runner_SettingEnvironment(t *testing.T) {
40// }

Callers

nothing calls this directly

Calls 2

RunMethod · 0.95
expectFunction · 0.85

Tested by

no test coverage detected