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

VSTestStep

open class VSTestStep : BuildStep

A build step running Visual Studio Tests

See Also

vstest

Types

Coverage

sealed class Coverage : CompoundParam<Coverage>

Platform

enum class Platform

Platform bitness

PlatformBitness

enum class PlatformBitness

PlatformVersion

enum class PlatformVersion

Registration

enum class Registration

ReportOrder

enum class ReportOrder

ReportType

enum class ReportType

TargetFramework

enum class TargetFramework

Target .NET Framework

Constructors

<init>

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

A build step running Visual Studio Tests

Properties

args

var args: String?

Additional parameters to add to the command line for VSTest

coverage

var coverage: Coverage?

Specifies coverage tool to use

excludeTestFileNames

var excludeTestFileNames: String?

Newline-separated list of assemblies to be excluded from test run. Wildcards are supported.

includeTestFileNames

var includeTestFileNames: String?

Newline-separated list of assemblies to be included in test run. Wildcards are supported.

platform

var platform: Platform?

realTimeTestReporting

var realTimeTestReporting: Boolean?

Whether TeamCity should use a custom test logger for real-time reporting.

runInIsolation

var runInIsolation: Boolean?

Whether TeamCity should run tests in an isolated process

runSettings

var runSettings: String?

A path to run settings configuration file

targetFramework

var targetFramework: TargetFramework?

Target .NET Framework version to be used for test execution

testCaseFilter

var testCaseFilter: String?

A regular expression selecting tests to run. Cannot be used together with testNames.

testNames

var testNames: String?

Newline-separated list of test names. If empty, all tests will be executed. Cannot be used together with testCaseFilter.

vstestPath

var vstestPath: String?

A path to test engine. TeamCity detects test engine installation on the agent, to run the detected engine use the following paths:

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