Partcover

class Partcover : VSTestStep.Coverage

Constructors

Link copied to clipboard
fun Partcover()

Functions

Link copied to clipboard
fun booleanParameter(    customName: String? = null,     trueValue: String? = "true",     falseValue: String? = "false"): SingleDelegateProvider<Boolean>
Link copied to clipboard
fun clear()
Link copied to clipboard
fun <T : CompoundParam<T>> compoundParameter(customName: String? = null): CompoundDelegateProvider<T>
Link copied to clipboard
fun <T : Parametrized> copyParamsTo(target: T): T

Copies parameters of this object to the specified target

Link copied to clipboard
fun doubleParameter(customName: String? = null): SingleDelegateProvider<Double>
Link copied to clipboard
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): SingleDelegateProvider<E>
Link copied to clipboard
fun findRawParam(paramName: String): Parameter?
Link copied to clipboard
fun hasParam(paramName: String): Boolean
Link copied to clipboard
fun intParameter(customName: String? = null): SingleDelegateProvider<Int>
Link copied to clipboard
fun param(name: String, value: String)

Adds parameter with specified name and value

Link copied to clipboard
fun removeRawParam(paramName: String)
Link copied to clipboard
fun stringParameter(customName: String? = null): SingleDelegateProvider<String>
Link copied to clipboard
open override fun validate(consumer: ErrorConsumer)

Properties

Link copied to clipboard
var args: String?

Write additional coverage tool specific arguments.

Link copied to clipboard
var excludePatterns: String?

PartCover exclude patterns.

Link copied to clipboard
var includePatterns: String?

PartCover include patterns.

Link copied to clipboard
val params: List<Parameter>
Link copied to clipboard
var platformBitness: VSTestStep.PlatformBitness?

Specify the .NET runtime bitness.

Link copied to clipboard
var platformVersion: VSTestStep.PlatformVersion?

Specify the .NET runtime version.

Link copied to clipboard
var registration: VSTestStep.Registration?

Specify the assemblies registration.

Link copied to clipboard
var toolPath: String?

Path to coverage tool

Link copied to clipboard
val value: String?
Link copied to clipboard
var xsltTransformations: String?

Write xslt transformation rules one per line in format: file.xslt=>generatedFileName.html, where file.xslt path should be relative to checkout directory. Note that default xslt files bundled with PartCover 2.3 are broken and you need to write your own xslt files to be able to generate reports.