Beispiel #1
0
//newDirectRunner returns a service for running tests on the local machine.
func newDirectRunner() Service {
	runner := direct.New(
		mustEnv("RUNNER"),
		env("TRACKER", "http://goci.me/rpc/tracker"),
		mustEnv("HOSTED"),
	)
	return runner
}
Beispiel #2
0
//newDirectRunner returns a service for running tests on the local machine.
func newDirectRunner() Service {
	ru := rudirect.New(
		mustEnv("RUNPATH"),
		httputil.Absolute(router.Lookup("Tracker")),
		httputil.Absolute("/runner/"),
	)
	return ru
}