jetbrains.buildServer.configs.kotlin.v10.buildSteps / DotnetVsTestStep

DotnetVsTestStep

open class DotnetVsTestStep : BuildStep

A .NET vstest step to run .NET VSTest

See Also

dotnetVsTest

Types

Coverage

sealed class Coverage : CompoundParam

Filter

sealed class Filter : CompoundParam

ImagePlatform

enum class ImagePlatform

Docker image platforms

Platform

enum class Platform

Platform bitness

VSTestVersion

enum class VSTestVersion

MSBuild version

Verbosity

enum class Verbosity

Logging verbosity

Constructors

<init>

DotnetVsTestStep(init: DotnetVsTestStep.() -> Unit = {}, base: DotnetVsTestStep? = null)

Properties

args

var args: String?

Enter additional command line parameters for dotnet vstest.

assemblies

var assemblies: String?

Specify paths to test assemblies. Wildcards are supported.

coverage

var coverage: Coverage?

Specifies coverage tool to use

dockerImage

var dockerImage: String?

Specifies which Docker image to use for running this build step. I.e. the build step will be run inside specified docker image, using 'docker run' wrapper.

dockerImagePlatform

var dockerImagePlatform: ImagePlatform?

Specifies which Docker image platform will be used to run this build step.

dockerPull

var dockerPull: Boolean?

If enabled, "docker pull image" will be run before docker run.

dockerRunParameters

var dockerRunParameters: String?

Additional docker run command arguments

filter

var filter: Filter?

The filter type used while test run

framework

var framework: String?

The target .NET Framework version to be used for test execution.

logging

var logging: Verbosity?

Specify logging verbosity

platform

var platform: Platform?

Target platform architecture to be used for test execution

runInIsolation

var runInIsolation: Boolean?

Whether TeamCity should run tests in an isolated process

settingsFile

var settingsFile: String?

The path to the run settings configuration file.

version

var version: VSTestVersion?

VSTest version to use

workingDir

var workingDir: String?

Build working directory for script, specify it if it is different from the checkout * directory.

Inherited Properties

conditions

var conditions: BuildStepConditions

Optional collection of build step execution conditions

enabled

var enabled: Boolean

Specifies whether the step is enabled

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

testCaseFilter

fun testCaseFilter(init: TestCaseFilter.() -> Unit = {}): TestCaseFilter

testName

fun testName(init: TestName.() -> Unit = {}): TestName

Inherited Functions

conditions

fun conditions(base: BuildStepConditions? = null, init: BuildStepConditions.() -> Unit = {}): Unit

Configures build step conditions