public final class TestTracer
extends java.lang.Object
| Constructor and Description |
|---|
TestTracer() |
| Modifier and Type | Method and Description |
|---|---|
static io.opentracing.Tracer.SpanBuilder |
buildTestSpan(io.opentracing.Tracer tracer,
java.lang.String testSuite,
java.lang.String testClass,
java.lang.String testName,
java.lang.String environment)
Return a new SpanBuilder for a Span from the given `tracer` with the given `testSuite`, `testClass`, `testName`
and `environment`.
|
public static io.opentracing.Tracer.SpanBuilder buildTestSpan(io.opentracing.Tracer tracer,
java.lang.String testSuite,
java.lang.String testClass,
java.lang.String testName,
java.lang.String environment)
You can override the testName later via Span.setOperationName(String).
tracer - the general tracer usedtestSuite - the current test suite or nulltestClass - the current test class or nulltestName - the current test name or nullenvironment - the current environment or null