open class MSTestStep : BuildStep
A build step running MSTest tests
See Also
sealed class Coverage : CompoundParam<Coverage> |
|
enum class PlatformBitness |
|
enum class PlatformVersion |
|
enum class Registration |
|
enum class ReportOrder |
|
enum class ReportType |
MSTestStep(init: MSTestStep.() -> Unit) MSTestStep()
A build step running MSTest tests |
var args: String?
Additional parameters to add to the command line for MSTest |
|
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 metadata: String?
A value for the /testmetadata: argument |
|
var mstestPath: String?
A path to test engine. TeamCity detects test engine installation on the agent, to run the detected engine use the following paths: |
|
var mstest_testlist: String?
Newline-separated list of testlist names from metadata to run. Every line will be translated into the /testlist: argument. |
|
var resultsFile: String?
A value for the /resultsfile: command line argument |
|
var runIfUniqueMatchFound: Boolean?
When set to true, TeamCity will run the test only if a unique match is found for any specified test name in the testsToRun property |
|
var runSettings: String?
A path to run settings configuration file |
|
var testsToRun: String?
Newline-separated list of individual tests to run. Each test nae will be translated into the /test: argument. |
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 |