open class NUnitStep : BuildStep
A build step running NUnit tests
See Also
sealed class Coverage : CompoundParam<Coverage> |
|
enum class NUnitVersion
NUnit version |
|
enum class Platform |
|
enum class PlatformBitness |
|
enum class PlatformVersion |
|
enum class Registration |
|
enum class ReportOrder |
|
enum class ReportType |
|
enum class RuntimeVersion |
NUnitStep(init: NUnitStep.() -> Unit) NUnitStep()
A build step running NUnit tests |
var coverage: Coverage?
Specifies coverage tool to use |
|
var excludeCategories: String?
Comma- or newline-separated list of NUnit categories which should be excluded. Category expressions are supported as well. |
|
var excludeTests: String?
Comma- or newline-separated list of .NET assemblies which should be excluded from the list of found assemblies to test. |
|
var includeCategories: String?
Comma- or newline-separated list of NUnit categories. Category expressions are supported as well. |
|
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. |
|
var nunitPath: String?
A path to NUnit console tool including the file name |
|
var nunitVersion: NUnitVersion?
NUnit version to use |
|
var platform: Platform?
A desired execution mode on a x64 machine |
|
var reduceTestFeedback: Boolean?
Whether TeamCity should run recently failed tests first to reduce test feedback |
|
var runProcessPerAssembly: Boolean?
Whether TeamCity should run each assembly in a separate process. Works for NUnit versions prior to 3.0 |
|
var runtimeVersion: RuntimeVersion?
A desired .NET Framework version |
var conditions: BuildStepConditions
Optional collection of build step execution conditions |
|
var enabled: Boolean
Specifies whether the step is enabled, true by default |
|
var executionMode: ExecutionMode
Build step execution mode |
|
var id: String?
Id of the step, if not specified will be generated |
|
var name: String
Build step name |
|
var type: String
Build step type |
fun dotcover(init: Dotcover.() -> Unit = {}): Dotcover |
|
fun ncover(init: Ncover.() -> Unit = {}): Ncover |
|
fun ncover3(init: Ncover3.() -> Unit = {}): Ncover3 |
|
fun partcover(init: Partcover.() -> Unit = {}): Partcover |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun clearConditions(): Unit
Deletes all configured build step conditions |
|
fun conditions(init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |
|
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. |
|
open fun toString(): String |