createRunProfile

abstract fun createRunProfile(label: String, kind: TestRunProfileKind, runHandler: (request: TestRunRequest, token: CancellationToken) -> PromiseLike<Void?>, isDefault: Boolean = definedExternally, tag: TestTag = definedExternally, supportsContinuousRun: Boolean = definedExternally): TestRunProfile(source)

Creates a profile used for running tests. Extensions must create at least one profile in order for tests to be run.

Parameters

label

A human-readable label for this profile.

kind

Configures what kind of execution this profile manages.

runHandler

Function called to start a test run.

isDefault

Whether this is the default action for its kind.

tag

Profile test tag.

supportsContinuousRun

Whether the profile supports continuous running.