jetbrains.buildServer.configs.kotlin.v2018_2.buildSteps / MSpecStep

MSpecStep

open class MSpecStep : BuildStep

A build step running MSpec tests

See Also

mspec

Types

Coverage

sealed class Coverage : CompoundParam<Coverage>

Platform

enum class Platform

Execution mode on a x64 machine

PlatformBitness

enum class PlatformBitness

PlatformVersion

enum class PlatformVersion

Registration

enum class Registration

ReportOrder

enum class ReportOrder

ReportType

enum class ReportType

RuntimeVersion

enum class RuntimeVersion

.NET Framework version

Constructors

<init>

MSpecStep(init: MSpecStep.() -> Unit)MSpecStep()

A build step running MSpec tests

Properties

args

var args: String?

coverage

var coverage: Coverage?

Specifies coverage tool to use

excludeSpecs

var excludeSpecs: String?

Comma- or newline-separated list of specifications to be excluded.

excludeTests

var excludeTests: String?

Comma- or newline-separated list of .NET assemblies which should be excluded from the list of found assemblies to test.

includeSpecs

var includeSpecs: String?

Comma- or newline-separated list of specifications to be executed.

includeTests

var includeTests: String?

Comma- or newline-separated list of .NET assemblies where the MSpec tests are specified relative to the checkout directory. Wildcards are supported.

mspecPath

var mspecPath: String?

A path to mspec.exe

platform

var platform: Platform?

runtimeVersion

var runtimeVersion: RuntimeVersion?

A desired .NET Framework version

Inherited Properties

conditions

var conditions: BuildStepConditions

Optional collection of build step execution conditions

enabled

var enabled: Boolean

Specifies whether the step is enabled, true by default

executionMode

var executionMode: ExecutionMode

Build step execution mode

id

var id: String?

Id of the step, if not specified will be generated

name

var name: String

Build step name

type

var type: String

Build step type

Functions

dotcover

fun dotcover(init: Dotcover.() -> Unit = {}): Dotcover

ncover

fun ncover(init: Ncover.() -> Unit = {}): Ncover

ncover3

fun ncover3(init: Ncover3.() -> Unit = {}): Ncover3

partcover

fun partcover(init: Partcover.() -> Unit = {}): Partcover

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

clearConditions

fun clearConditions(): Unit

Deletes all configured build step conditions

conditions

fun conditions(init: BuildStepConditions.() -> Unit = {}): Unit

Configures build step conditions

create

open fun create(): BuildStep

Creates an instance of this build step via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.

toString

open fun toString(): String