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

NUnitStep

open class NUnitStep : BuildStep

A build step running NUnit tests

See Also

nunit

Types

Coverage

sealed class Coverage : CompoundParam

NUnitVersion

enum class NUnitVersion

NUnit version

Platform

enum class Platform

PlatformBitness

enum class PlatformBitness

PlatformVersion

enum class PlatformVersion

Registration

enum class Registration

ReportOrder

enum class ReportOrder

ReportType

enum class ReportType

RuntimeVersion

enum class RuntimeVersion

Constructors

<init>

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

Properties

coverage

var coverage: Coverage?

Specifies coverage tool to use

excludeCategories

var excludeCategories: String?

Comma- or newline-separated list of NUnit categories which should be excluded. Category expressions are supported as well.

excludeTests

var excludeTests: String?

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

includeCategories

var includeCategories: String?

Comma- or newline-separated list of NUnit categories. Category expressions are supported as well.

includeTests

var includeTests: String?

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

nunitPath

var nunitPath: String?

A path to NUnit console tool including the file name

nunitVersion

var nunitVersion: NUnitVersion?

NUnit version to use

platform

var platform: Platform?

A desired execution mode on a x64 machine

reduceTestFeedback

var reduceTestFeedback: Boolean?

Whether TeamCity should run recently failed tests first to reduce test feedback

runProcessPerAssembly

var runProcessPerAssembly: Boolean?

Whether TeamCity should run each assembly in a separate process. Works for NUnit versions prior to 3.0

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

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

Inherited Functions

conditions

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

Configures build step conditions