public class AbstractWordSpec extends AbstractSpec
Example:
"some test" should { "do something" { // test here } }
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractWordSpec.FinalTestContext |
class |
AbstractWordSpec.WhenContext |
class |
AbstractWordSpec.WordScope |
Spec.DefaultImpls| Constructor and Description |
|---|
AbstractWordSpec(kotlin.jvm.functions.Function1<? super io.kotlintest.specs.AbstractWordSpec,kotlin.Unit> body)
Example:
|
AbstractWordSpec()
Example:
|
| Modifier and Type | Method and Description |
|---|---|
void |
When(java.lang.String $receiver,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractWordSpec.WhenContext,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init) |
void |
should(java.lang.String $receiver,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractWordSpec.WordScope,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init) |
void |
when(java.lang.String $receiver,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractWordSpec.WhenContext,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init) |
addTestCase, autoClose, closeResources, createTestCase, getAcceptingTopLevelRegistration, getDefaultTestCaseConfig, isInstancePerTest, setAcceptingTopLevelRegistration, testCasescloseResources, description, extensions, focused, hasFocusedTest, isInstancePerTest, isolationMode, listeners, tags, testCaseOrder, testCasesafterDiscovery, afterProject, afterSpec, afterSpec, afterSpecClass, afterSpecCompleted, afterTest, afterTest, beforeProject, beforeSpec, beforeSpec, beforeSpecClass, beforeSpecStarted, beforeTest, beforeTestpublic AbstractWordSpec(kotlin.jvm.functions.Function1<? super io.kotlintest.specs.AbstractWordSpec,kotlin.Unit> body)
Example:
"some test" should { "do something" { // test here } }
public AbstractWordSpec()
Example:
"some test" should { "do something" { // test here } }
public void should(java.lang.String $receiver,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractWordSpec.WordScope,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init)
public void When(java.lang.String $receiver,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractWordSpec.WhenContext,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init)
public void when(java.lang.String $receiver,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractWordSpec.WhenContext,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init)