When building a test filter, escape any special characters present in test names, as per the vstest documentation at https://github.com/microsoft/vstest/blob/main/docs/filter.md, to avoid errors from the test runner when trying to run tests whose names contain such characters from the test explorer
WHAT
When building a test filter, escape any special characters present in test names, as per the vstest documentation at https://github.com/microsoft/vstest/blob/main/docs/filter.md, to avoid errors from the test runner when trying to run tests whose names contain such characters from the test explorer
WHY
1923
HOW
Based on the approach used by vstest at https://github.com/microsoft/vstest/blob/main/src/Microsoft.TestPlatform.ObjectModel/Utilities/FilterHelper.cs