open class VSTestStep : BuildStep
A build step running Visual Studio Tests
See Also
sealed class Coverage : CompoundParam<Coverage> |
|
enum class Platform
Platform bitness |
|
enum class PlatformBitness |
|
enum class PlatformVersion |
|
enum class Registration |
|
enum class ReportOrder |
|
enum class ReportType |
|
enum class TargetFramework
Target .NET Framework |
VSTestStep(init: VSTestStep.() -> Unit) VSTestStep()
A build step running Visual Studio Tests |
var args: String?
Additional parameters to add to the command line for VSTest |
|
var coverage: Coverage?
Specifies coverage tool to use |
|
var excludeTestFileNames: String?
Newline-separated list of assemblies to be excluded from test run. Wildcards are supported. |
|
var includeTestFileNames: String?
Newline-separated list of assemblies to be included in test run. Wildcards are supported. |
|
var platform: Platform? |
|
var realTimeTestReporting: Boolean?
Whether TeamCity should use a custom test logger for real-time reporting. |
|
var runInIsolation: Boolean?
Whether TeamCity should run tests in an isolated process |
|
var runSettings: String?
A path to run settings configuration file |
|
var targetFramework: TargetFramework?
Target .NET Framework version to be used for test execution |
|
var testCaseFilter: String?
A regular expression selecting tests to run. Cannot be used together with testNames. |
|
var testNames: String?
Newline-separated list of test names. If empty, all tests will be executed. Cannot be used together with testCaseFilter. |
|
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: |
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 |