Skip navigation links
A B C D E G H I J O R S T 

A

afterSpecClass(klass, t) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Is invoked once per Spec to indicate that all TestCase instances of the spec have returned and the SpecRunner has completed.
afterSpecClass(klass, t) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Is invoked once per Spec to indicate that all TestCase instances of the spec have returned and the SpecRunner has completed.
afterSpecClass($this, klass, t) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Is invoked once per Spec to indicate that all TestCase instances of the spec have returned and the SpecRunner has completed.
afterTestCaseExecution(testCase, result) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Invoked when all the invocations of a TestCase have completed. This function will only be invoked if a test case was active. The result passed in here is the result directly from the test run, before any interception.
afterTestCaseExecution(testCase, result) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Invoked when all the invocations of a TestCase have completed. This function will only be invoked if a test case was active. The result passed in here is the result directly from the test run, before any interception.
afterTestCaseExecution($this, testCase, result) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Invoked when all the invocations of a TestCase have completed. This function will only be invoked if a test case was active. The result passed in here is the result directly from the test run, before any interception.

B

beforeSpecClass(klass) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Is invoked once per Spec when the class TestEngine is preparing to submit the spec for execution to a SpecRunner.
beforeSpecClass(klass) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Is invoked once per Spec when the class TestEngine is preparing to submit the spec for execution to a SpecRunner.
beforeSpecClass($this, klass) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Is invoked once per Spec when the class TestEngine is preparing to submit the spec for execution to a SpecRunner.
beforeTestCaseExecution(testCase) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Invoked if a TestCase will be executed (is active).
beforeTestCaseExecution($this, testCase) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Invoked if a TestCase will be executed (is active).

C

component1() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
a list of uris to act as a classpath roots to search
component1() - Method in class io.kotlintest.runner.jvm.DiscoveryResult
 
component1() - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
component1() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
component2() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
if specified then these classnames will be used instead of searching
component2() - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
component2() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
component3() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
if specified then only classes in the given packages will be considered
component3() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
component4() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
list of class name filters
component5() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
 
Context($outer, description) - Constructor for class io.kotlintest.runner.jvm.spec.SingleInstanceSpecRunner.Context
 
copy(uris, classNames, packages, classNameFilters, packageFilters) - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
class DiscoveryRequest describes how to discover test classes.
copy(classes) - Method in class io.kotlintest.runner.jvm.DiscoveryResult
Contains Spec classes discovered as part of a discovery request scan.
copy(testCase, count) - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
copy(testCase, topLevel, count) - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 

D

description() - Method in class io.kotlintest.runner.jvm.spec.SingleInstanceSpecRunner.Context
 
discover(request) - Method in class io.kotlintest.runner.jvm.TestDiscovery
 
DiscoveryRequest - Class in io.kotlintest.runner.jvm
class DiscoveryRequest describes how to discover test classes.
DiscoveryRequest(uris, classNames, packages, classNameFilters, packageFilters) - Constructor for class io.kotlintest.runner.jvm.DiscoveryRequest
class DiscoveryRequest describes how to discover test classes.
DiscoveryResult - Class in io.kotlintest.runner.jvm
Contains Spec classes discovered as part of a discovery request scan.
DiscoveryResult(classes) - Constructor for class io.kotlintest.runner.jvm.DiscoveryResult
Contains Spec classes discovered as part of a discovery request scan.

E

engineFinished(t) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Is invoked when the class TestEngine has finished execution.
engineFinished($this, t) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Is invoked when the class TestEngine has finished execution.
engineFinished(t) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Is invoked when the class TestEngine has finished execution.
engineStarted(classes) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Is invoked when the class TestEngine is starting execution.
engineStarted($this, classes) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Is invoked when the class TestEngine is starting execution.
engineStarted(classes) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Is invoked when the class TestEngine is starting execution.
Enqueued(testCase, count) - Constructor for class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
Enqueued(testCase, topLevel, count) - Constructor for class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
enterTestCase(testCase) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Invoked each time a TestCase has been entered from a parent test.
enterTestCase($this, testCase) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Invoked each time a TestCase has been entered from a parent test.
enterTestCase(testCase) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Invoked each time a TestCase has been entered from a parent test.
equals(p) - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
 
equals(p) - Method in class io.kotlintest.runner.jvm.DiscoveryResult
 
equals(p) - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
equals(p) - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
execute(spec, topLevelTests) - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner
 
execute(spec, topLevelTests) - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner
When executing a TestCase, any child test cases that are found, are placed onto a stack. When the test case has completed, we take the next test case from the stack, and begin executing that.
execute(spec, topLevelTests) - Method in class io.kotlintest.runner.jvm.spec.SingleInstanceSpecRunner
 
execute(spec) - Method in class io.kotlintest.runner.jvm.spec.SpecExecutor
 
execute(spec, topLevelTests) - Method in class io.kotlintest.runner.jvm.spec.SpecRunner
 
execute(testCase, context, onResult, p) - Method in class io.kotlintest.runner.jvm.TestCaseExecutor
 
execute() - Method in class io.kotlintest.runner.jvm.TestEngine
 
exitTestCase(testCase, result) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Executed each time a TestCase has completed.
exitTestCase($this, testCase, result) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Executed each time a TestCase has completed.
exitTestCase(testCase, result) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Executed each time a TestCase has completed.

G

getClasses() - Method in class io.kotlintest.runner.jvm.DiscoveryResult
 
getClasses() - Method in class io.kotlintest.runner.jvm.TestEngine
 
getClassNameFilters() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
list of class name filters
getClassNames() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
if specified then these classnames will be used instead of searching
getCount() - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
getCount() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
getDescription() - Method in class io.kotlintest.runner.jvm.spec.SingleInstanceSpecRunner.Context
 
getListener() - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
 
getListener() - Method in class io.kotlintest.runner.jvm.spec.SpecRunner
provides callbacks on tests as they are executed.
getListener() - Method in class io.kotlintest.runner.jvm.TestEngine
 
getPackageFilters() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
 
getPackages() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
if specified then only classes in the given packages will be considered
getParallelism() - Method in class io.kotlintest.runner.jvm.TestEngine
 
getTestCase() - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
getTestCase() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
getTimeout() - Method in exception io.kotlintest.runner.jvm.TestTimedOutException
 
getTimeUnit() - Method in exception io.kotlintest.runner.jvm.TestTimedOutException
 
getTopLevel() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
getUris() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
a list of uris to act as a classpath roots to search

H

hashCode() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
 
hashCode() - Method in class io.kotlintest.runner.jvm.DiscoveryResult
 
hashCode() - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
hashCode() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 

I

INSTANCE - Static variable in class io.kotlintest.runner.jvm.TestDiscovery
Scans for tests as specified by a class DiscoveryRequest. DiscoveryExtension afterScan functions are applied after the scan is complete to optionally filter the returned classes.
InstancePerLeafSpecRunner - Class in io.kotlintest.runner.jvm.spec
Implementation of class SpecRunner that executes each leaf test (that is a TestCase which has type TestType.Test) in a fresh instance of the Spec class (that is, isolated from other leaf executions).
InstancePerLeafSpecRunner(listener, listenerExecutor, scheduler) - Constructor for class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner
Implementation of class SpecRunner that executes each leaf test (that is a TestCase which has type TestType.Test) in a fresh instance of the Spec class (that is, isolated from other leaf executions).
InstancePerLeafSpecRunner.Enqueued - Class in io.kotlintest.runner.jvm.spec
 
InstancePerTestSpecRunner - Class in io.kotlintest.runner.jvm.spec
Implementation of class SpecRunner that executes each TestCase in a fresh instance of the Spec class.
InstancePerTestSpecRunner(listener, listenerExecutor, scheduler) - Constructor for class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner
Implementation of class SpecRunner that executes each TestCase in a fresh instance of the Spec class.
InstancePerTestSpecRunner.Enqueued - Class in io.kotlintest.runner.jvm.spec
 
instantiateSpec(clazz) - Static method in class io.kotlintest.runner.jvm.JvmKt
 
interceptSpec(spec, afterInterception, p) - Method in class io.kotlintest.runner.jvm.spec.SpecRunner
 
invoke(klass) - Method in interface io.kotlintest.runner.jvm.SpecFilter
 
invokingTestCase(testCase, k) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Invoked each time a TestCase is about to be executed with a unique ordinal for each execution.
invokingTestCase($this, testCase, k) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Invoked each time a TestCase is about to be executed with a unique ordinal for each execution.
invokingTestCase(testCase, k) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Invoked each time a TestCase is about to be executed with a unique ordinal for each execution.
io.kotlintest.runner.jvm - package io.kotlintest.runner.jvm
 
io.kotlintest.runner.jvm.spec - package io.kotlintest.runner.jvm.spec
 
isDoNotParallelize($receiver) - Static method in class io.kotlintest.runner.jvm.TestEngineKt
 
IsolationTestEngineListener - Class in io.kotlintest.runner.jvm
 
IsolationTestEngineListener(listener) - Constructor for class io.kotlintest.runner.jvm.IsolationTestEngineListener
 

J

JvmKt - Class in io.kotlintest.runner.jvm
 

O

onFailure($receiver, f) - Static method in class io.kotlintest.runner.jvm.TryfuncsKt
 
onSuccess($receiver, f) - Static method in class io.kotlintest.runner.jvm.TryfuncsKt
 

R

registerTestCase(testCase, p) - Method in class io.kotlintest.runner.jvm.spec.SingleInstanceSpecRunner.Context
 

S

SingleInstanceSpecRunner - Class in io.kotlintest.runner.jvm.spec
Implementation of class SpecRunner that executes all tests against the same Spec instance. In other words, only a single instance of the spec class is instantiated for all the test cases.
SingleInstanceSpecRunner(listener, listenerExecutor, scheduler) - Constructor for class io.kotlintest.runner.jvm.spec.SingleInstanceSpecRunner
Implementation of class SpecRunner that executes all tests against the same Spec instance. In other words, only a single instance of the spec class is instantiated for all the test cases.
SingleInstanceSpecRunner.Context - Class in io.kotlintest.runner.jvm.spec
 
specCreated(spec) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Invoked each time an instance of a Spec is created. A spec may be created once per class, or one per TestCase.
specCreated($this, spec) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Invoked each time an instance of a Spec is created. A spec may be created once per class, or one per TestCase.
specCreated(spec) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Invoked each time an instance of a Spec is created. A spec may be created once per class, or one per TestCase.
SpecExecutor - Class in io.kotlintest.runner.jvm.spec
Handles the execution of a single Spec class. Delegates to a class SpecRunner which determines how and when to instantiate fresh specs based on the IsolationMode of the spec.
SpecExecutor(engineListener, scheduler) - Constructor for class io.kotlintest.runner.jvm.spec.SpecExecutor
Handles the execution of a single Spec class. Delegates to a class SpecRunner which determines how and when to instantiate fresh specs based on the IsolationMode of the spec.
SpecFilter - Interface in io.kotlintest.runner.jvm
 
specInitialisationFailed(klass, t) - Method in class io.kotlintest.runner.jvm.IsolationTestEngineListener
Is invoked if a Spec throws an exception during initialisation
specInitialisationFailed($this, klass, t) - Static method in class io.kotlintest.runner.jvm.TestEngineListener.DefaultImpls
Is invoked if a Spec throws an exception during initialisation
specInitialisationFailed(klass, t) - Method in interface io.kotlintest.runner.jvm.TestEngineListener
Is invoked if a Spec throws an exception during initialisation
SpecRunner - Class in io.kotlintest.runner.jvm.spec
The base class for executing all the tests inside a Spec.
SpecRunner(listener) - Constructor for class io.kotlintest.runner.jvm.spec.SpecRunner
The base class for executing all the tests inside a Spec.

T

TestCaseExecutor - Class in io.kotlintest.runner.jvm
The class TestCaseExecutor is responsible for preparing and executing a single TestCase.
TestCaseExecutor(listener, executor, scheduler) - Constructor for class io.kotlintest.runner.jvm.TestCaseExecutor
The class TestCaseExecutor is responsible for preparing and executing a single TestCase.
TestDiscovery - Class in io.kotlintest.runner.jvm
Scans for tests as specified by a class DiscoveryRequest. DiscoveryExtension afterScan functions are applied after the scan is complete to optionally filter the returned classes.
TestEngine - Class in io.kotlintest.runner.jvm
 
TestEngine(classes, filters, parallelism, includedTags, excludedTags, listener) - Constructor for class io.kotlintest.runner.jvm.TestEngine
 
TestEngineKt - Class in io.kotlintest.runner.jvm
 
TestEngineListener - Interface in io.kotlintest.runner.jvm
Implementations of this interface will be notified of events that occur as part of the class TestEngine lifecycle.
TestEngineListener.DefaultImpls - Class in io.kotlintest.runner.jvm
Implementations of this interface will be notified of events that occur as part of the class TestEngine lifecycle.
TestTimedOutException - Exception in io.kotlintest.runner.jvm
 
TestTimedOutException(timeout, timeUnit) - Constructor for exception io.kotlintest.runner.jvm.TestTimedOutException
 
toString() - Method in class io.kotlintest.runner.jvm.DiscoveryRequest
 
toString() - Method in class io.kotlintest.runner.jvm.DiscoveryResult
 
toString() - Method in class io.kotlintest.runner.jvm.spec.InstancePerLeafSpecRunner.Enqueued
 
toString() - Method in class io.kotlintest.runner.jvm.spec.InstancePerTestSpecRunner.Enqueued
 
TryfuncsKt - Class in io.kotlintest.runner.jvm
 
A B C D E G H I J O R S T 
Skip navigation links