crusade-tracker/system/caches/pluginsDslCache/doc/jetbrains.build-server.configs.kotlin.v2019_2.build-steps/-v-s-test-step/index.html
2021-01-18 15:27:50 -05:00

356 lines
20 KiB
HTML

<HTML>
<HEAD>
<meta charset="UTF-8">
<title>VSTestStep - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps</a>&nbsp;/&nbsp;<a href="./index.html">VSTestStep</a><br/>
<br/>
<h1>VSTestStep</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">VSTestStep</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/index.html"><span class="identifier">BuildStep</span></a></code>
<p>A <a href="https://www.jetbrains.com/help/teamcity/?Visual+Studio+Tests">build step</a> running Visual Studio Tests</p>
<p><strong>See Also</strong><br/>
<p><a href="../vstest.html">vstest</a></p>
</p>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-coverage/index.html">Coverage</a></p>
</td>
<td>
<code><span class="keyword">sealed</span> <span class="keyword">class </span><span class="identifier">Coverage</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-compound-param/index.html"><span class="identifier">CompoundParam</span></a><span class="symbol">&lt;</span><a href="-coverage/index.html"><span class="identifier">Coverage</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<p><a href="-platform/index.html">Platform</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Platform</span></code>
<p>Platform bitness</p>
</td>
</tr>
<tr>
<td>
<p><a href="-platform-bitness/index.html">PlatformBitness</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">PlatformBitness</span></code></td>
</tr>
<tr>
<td>
<p><a href="-platform-version/index.html">PlatformVersion</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">PlatformVersion</span></code></td>
</tr>
<tr>
<td>
<p><a href="-registration/index.html">Registration</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Registration</span></code></td>
</tr>
<tr>
<td>
<p><a href="-report-order/index.html">ReportOrder</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ReportOrder</span></code></td>
</tr>
<tr>
<td>
<p><a href="-report-type/index.html">ReportType</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ReportType</span></code></td>
</tr>
<tr>
<td>
<p><a href="-target-framework/index.html">TargetFramework</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TargetFramework</span></code>
<p>Target .NET Framework</p>
</td>
</tr>
</tbody>
</table>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">VSTestStep</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">VSTestStep</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code><code><span class="identifier">VSTestStep</span><span class="symbol">(</span><span class="symbol">)</span></code>
<p>A <a href="https://www.jetbrains.com/help/teamcity/?Visual+Studio+Tests">build step</a> running Visual Studio Tests</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="args.html">args</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">args</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>Additional parameters to add to the command line for VSTest</p>
</td>
</tr>
<tr>
<td>
<p><a href="coverage.html">coverage</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">coverage</span><span class="symbol">: </span><a href="-coverage/index.html"><span class="identifier">Coverage</span></a><span class="symbol">?</span></code>
<p>Specifies coverage tool to use</p>
</td>
</tr>
<tr>
<td>
<p><a href="exclude-test-file-names.html">excludeTestFileNames</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">excludeTestFileNames</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>Newline-separated list of assemblies to be excluded from test run.
<a href="https://www.jetbrains.com/help/teamcity/?Wildcards">Wildcards</a> are supported.</p>
</td>
</tr>
<tr>
<td>
<p><a href="include-test-file-names.html">includeTestFileNames</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">includeTestFileNames</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>Newline-separated list of assemblies to be included in test run.
<a href="https://www.jetbrains.com/help/teamcity/?Wildcards">Wildcards</a> are supported.</p>
</td>
</tr>
<tr>
<td>
<p><a href="platform.html">platform</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">platform</span><span class="symbol">: </span><a href="-platform/index.html"><span class="identifier">Platform</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<p><a href="real-time-test-reporting.html">realTimeTestReporting</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">realTimeTestReporting</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Whether TeamCity should use a <a href="https://www.jetbrains.com/help/teamcity/?Visual+Studio+Tests#VisualStudioTests-Customtestlogger">custom test logger</a>
for real-time reporting.</p>
</td>
</tr>
<tr>
<td>
<p><a href="run-in-isolation.html">runInIsolation</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">runInIsolation</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Whether TeamCity should run tests in an isolated process</p>
</td>
</tr>
<tr>
<td>
<p><a href="run-settings.html">runSettings</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">runSettings</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>A path to run settings configuration file</p>
</td>
</tr>
<tr>
<td>
<p><a href="target-framework.html">targetFramework</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">targetFramework</span><span class="symbol">: </span><a href="-target-framework/index.html"><span class="identifier">TargetFramework</span></a><span class="symbol">?</span></code>
<p>Target .NET Framework version to be used for test execution</p>
</td>
</tr>
<tr>
<td>
<p><a href="test-case-filter.html">testCaseFilter</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">testCaseFilter</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>A regular expression selecting tests to run.
Cannot be used together with testNames.</p>
</td>
</tr>
<tr>
<td>
<p><a href="test-names.html">testNames</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">testNames</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>Newline-separated list of test names. If empty, all tests will be executed.
Cannot be used together with testCaseFilter.</p>
</td>
</tr>
<tr>
<td>
<p><a href="vstest-path.html">vstestPath</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">vstestPath</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>A path to test engine. TeamCity detects test engine installation on the agent,
to run the detected engine use the following paths:</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/conditions.html">conditions</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">conditions</span><span class="symbol">: </span><a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-step-conditions/index.html"><span class="identifier">BuildStepConditions</span></a></code>
<p>Optional collection of build step execution conditions</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/enabled.html">enabled</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">enabled</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code>
<p>Specifies whether the step is enabled, true by default</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/execution-mode.html">executionMode</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">executionMode</span><span class="symbol">: </span><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/-execution-mode/index.html"><span class="identifier">ExecutionMode</span></a></code>
<p>Build step <a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/-execution-mode/index.html">execution mode</a></p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/id.html">id</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">id</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>Id of the step, if not specified will be generated</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/name.html">name</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">name</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Build step name</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/type.html">type</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Build step type</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="dotcover.html">dotcover</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">dotcover</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep$dotcover(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep.Coverage.Dotcover, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-coverage/-dotcover/index.html"><span class="identifier">Dotcover</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-coverage/-dotcover/index.html"><span class="identifier">Dotcover</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="ncover.html">ncover</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">ncover</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep$ncover(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep.Coverage.Ncover, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-coverage/-ncover/index.html"><span class="identifier">Ncover</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-coverage/-ncover/index.html"><span class="identifier">Ncover</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="ncover3.html">ncover3</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">ncover3</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep$ncover3(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep.Coverage.Ncover3, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-coverage/-ncover3/index.html"><span class="identifier">Ncover3</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-coverage/-ncover3/index.html"><span class="identifier">Ncover3</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="partcover.html">partcover</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">partcover</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep$partcover(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep.Coverage.Partcover, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-coverage/-partcover/index.html"><span class="identifier">Partcover</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-coverage/-partcover/index.html"><span class="identifier">Partcover</span></a></code></td>
</tr>
<tr>
<td>
<p><a href="validate.html">validate</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.VSTestStep$validate(jetbrains.buildServer.configs.kotlin.v2019_2.ErrorConsumer)/consumer">consumer</span><span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-error-consumer/index.html"><span class="identifier">ErrorConsumer</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Validates this object and reports found errors to the provided consumer</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/clear-conditions.html">clearConditions</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">clearConditions</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Deletes all configured build step conditions</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/conditions.html">conditions</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">conditions</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2019_2.BuildStep$conditions(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.BuildStepConditions, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-step-conditions/index.html"><span class="identifier">BuildStepConditions</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Configures <a href="https://www.jetbrains.com/help/teamcity/?Build+Step+Conditions">build step conditions</a></p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/create.html">create</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/index.html"><span class="identifier">BuildStep</span></a></code>
<p>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.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2019_2/-build-step/to-string.html">toString</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>