public class SpecKt
| Modifier and Type | Method and Description |
|---|---|
static Description |
description(java.lang.Class<? extends io.kotlintest.Spec> $receiver) |
static java.lang.String |
displayName(java.lang.Class<? extends io.kotlintest.Spec> $receiver)
A name slash id for this spec which is used as the parent route for tests.
By default this will return the fully qualified class name, unless the spec
class is annotated with @DisplayNamen.
|
static java.util.List<io.kotlintest.TestCase> |
focused(Spec $receiver)
Returns the focused tests for this Spec. Can be empty if no test is marked as focused.
|
static java.util.List<io.kotlintest.extensions.TestListener> |
getListenerInstances(Spec $receiver) |
public static java.lang.String displayName(java.lang.Class<? extends io.kotlintest.Spec> $receiver)
A name slash id for this spec which is used as the parent route for tests. By default this will return the fully qualified class name, unless the spec class is annotated with @DisplayNamen.
Note: This name must be globally unique. Two specs, even in different packages, cannot share the same name.
public static Description description(java.lang.Class<? extends io.kotlintest.Spec> $receiver)
public static java.util.List<io.kotlintest.extensions.TestListener> getListenerInstances(Spec $receiver)
public static java.util.List<io.kotlintest.TestCase> focused(Spec $receiver)
Returns the focused tests for this Spec. Can be empty if no test is marked as focused.