Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable code coverage when "Code Coverage;arg1=val1;arg2=val2" is prov…
…ided in cli (#3172) * Adding elements to code coverage config passed via commandline, e.g. Input: --collect:"Code Coverage;CLRIEInstrumentationNetCore=true;CLRIEInstrumentationNetFramework=false" Output: <DataCollector friendlyName="Code Coverage" enabled="True"> <Configuration> <CLRIEInstrumentationNetCore>true</CLRIEInstrumentationNetCore> <CLRIEInstrumentationNetFramework>false</CLRIEInstrumentationNetFramework> </Configuration> </DataCollector> * Adding tests, * Update existing configuration if present, * using correct tag for specifying output file format, * Update dependencies from https://dev.azure.com/devdiv/DevDiv/_git/vs-code-coverage build 20211111.1 Microsoft.Internal.CodeCoverage From Version 17.1.0-beta.21560.1 -> To Version 17.1.0-beta.21561.1 * fixing tests, * fixing parameter name, * Adding test for overriding format from settings file using collect command, * Adding testadapterpath when additional config are provided for the following command, dotnet test --collect:"Code Coverage;arg1=val1;arg2=val2" * updating comment, * Adding string const, Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
- Loading branch information