func RunAPIChecks(
	t *testing.T,
	newTracer func() (tracer opentracing.Tracer, closer func()),
	opts ...APICheckOption,
) {
	s := &APICheckSuite{newTracer: newTracer}
	for _, opt := range opts {
		opt(s)
	}
	suite.Run(t, s)
}
func RunAPIChecks(
	t *testing.T,
	newTracer func() (tracer opentracing.Tracer, closer func()),
	opts ...APICheckOption,
) {
	s := &APICheckSuite{newTracer: newTracer}
	for _, opt := range opts {
		opt(s)
	}
	suite.Run(t, s)
}
// RunAPIChecks runs a test suite to check a Tracer against the OpenTracing API.
// It is provided a function that will be executed to create and destroy a tracer for each test
// in the suite, and the given APICheckOption functional options `opts`.