vstest-docs
vstest-docs copied to clipboard
Documentation for the Visual Studio Test Platform.
Consider the below scenario: TestClass1: TestAA - TestCategory - A, 11 TestAB - TestCategory - A TestClass2: TestBB - TestCategory - B, 11 TestBC - TestCategory - B TestClass3: TestCC...
When I run `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "D:\BuildAgent\work\22d15c2ebd171441\MYAPP.Tests\bin\Release\MYAPPTests.dll" /collect:"Code Coverage"` the file generated is thrown at a folder within the _**TestResults**_ folder naming it every time in a different...
Hi, I just created a UWP Unit Test App in VS 2019. The first thing I did was check the packages and see if they were up to date. It...
I have a CMake based C++ app with some CTests. Test coverage tool works fine (almost) from inside VS Enterprise. The Test Explorer discovers the defined CTests and the Coverage...
The Azure DevOps ["VSTest task"](https://docs.microsoft.com/en-us/azure/devops/release-notes/2017/dec-11-vsts#identify-flaky-tests) has the built in ability to rerun individual tests that fail. I would like to this everywhere we use VSTest as the test runner but...
The Not-Contains operator was added in https://github.com/Microsoft/vstest/pull/1803, but it is not mentioned in documentation which makes this very hard to discover. The documentation should probably call out in which version(s)...
https://github.com/Microsoft/vstest-docs/blob/master/docs/releases.md The TestPlatform vsix links point to https://vsdrop.corp.microsoft.com/, which is not accessible. Where can I download those?
In the [`DataCollector.md`](https://github.com/Microsoft/vstest-docs/blob/master/docs/extensions/datacollector.md#using-datacollector) under using datacollector there is a sample xml how to use a custom datacollector ```xml ``` The previous commandline arguments that are shown as an alternitive also...
The format of `Exclude` values is not documented anywhere. Is it wildcards? Is it regular expressions?
The example [test case filtering code](https://github.com/Microsoft/vstest-docs/blob/master/RFCs/0004-Adapter-Extensibility.md#filtering) does not compile. Specifically here: ``` var filterExpression = runContext.GetTestCaseFilter(supportedProperties, (propertyName) => { TestProperty testProperty = null; supportedProperties.TryGetValue(propertyName, out testProperty); return testProperty; }); ```...