Method ToVSTestTypeName
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
ToVSTestTypeName(Type, MethodInfo?, Type?)
Converts a Type name into the correct form for VSTest managed type name for using in managed TestCase properties and by xunit.runner.visualstudio.
public static string ToVSTestTypeName(this Type type, MethodInfo? testMethod = null, Type? testClass = null)
Parameters
typeTypetestMethodMethodInfotestClassType