Skip to content

Commit 8bed605

Browse files
authored
Update configure-unit-tests-by-using-a-dot-runsettings-file.md
Make the separate entries setting clearly visible in docs
1 parent 0e7013e commit 8bed605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/test/configure-unit-tests-by-using-a-dot-runsettings-file.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ These settings are specific to the test adapter that runs test methods that have
330330
|**DeployTestSourceDependencies**|true|A value indicating whether the test source references are to be deployed.|
331331
|**DeleteDeploymentDirectoryAfterTestRunIsComplete**|true|To retain the deployment directory after a test run, set this value to **false**.|
332332
|**MapInconclusiveToFailed**|false|If a test completes with an inconclusive status, it's mapped to the skipped status in **Test Explorer**. If you want inconclusive tests to be shown as failed, set the value to **true**.|
333+
|**ConsiderFixturesAsSpecialTests**|false|To display `AssemblyInitialize`, `AssemblyCleanup`, `ClassInitialize`, `ClassCleanup` as invidutual entries in visual studio `Test Explorer` and `.trx` log, set this value to **true**|
333334
|**AssemblyResolution**|false|You can specify paths to extra assemblies when finding and running unit tests. For example, use these paths for dependency assemblies that aren't in the same directory as the test assembly. To specify a path, use a **Directory Path** element. Paths can include environment variables.<br /><br />`<AssemblyResolution> <Directory path="D:\myfolder\bin\" includeSubDirectories="false"/> </AssemblyResolution>`<br /><br />Note that this feature is only being applied when using .NET Framework target.|
334335

335336
## Example *.runsettings* file
@@ -448,6 +449,7 @@ Each element of the file is optional because it has a default value.
448449
<CaptureTraceOutput>false</CaptureTraceOutput>
449450
<DeleteDeploymentDirectoryAfterTestRunIsComplete>False</DeleteDeploymentDirectoryAfterTestRunIsComplete>
450451
<DeploymentEnabled>False</DeploymentEnabled>
452+
<ConsiderFixturesAsSpecialTests>False</ConsiderFixturesAsSpecialTests>
451453
<AssemblyResolution>
452454
<Directory path="D:\myfolder\bin\" includeSubDirectories="false"/>
453455
</AssemblyResolution>

0 commit comments

Comments
 (0)