You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pulley/cmd/api/handlers_integration_test.go

19 lines
344 B
Go

package main
import (
"flag"
"testing"
)
var runIntegrationTestHandlers bool
func init() {
flag.BoolVar(&runIntegrationTestHandlers, "integration-handlers", false, "run integration tests for http handlers")
}
func TestHttpListHandlers(t *testing.T) {
if !runIntegrationTestHandlers {
t.Skip("Skipping handler integration tests")
}
}