Ejemplo n.º 1
0
//newWebRunner returns a service for running tests on the heroku dyno mesh.
func newWebRunner() Service {
	runner := web.New(
		mustEnv("APP_NAME"),
		mustEnv("API_KEY"),
		env("TRACKER", "http://goci.me/rpc/tracker"),
		mustEnv("HOSTED"),
	)
	return runner
}
Ejemplo n.º 2
0
//newWebRunner returns a service for running tests on the heroku dyno mesh.
func newWebRunner() Service {
	//create a runner
	ru := ruweb.New(
		mustEnv("APP_NAME"),
		mustEnv("API_KEY"),
		httputil.Absolute(router.Lookup("Tracker")),
		httputil.Absolute("/runner/"),
	)
	return ru
}