Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
vstest 的/ListTests选项返回 dll 中的测试方法名称列表。
有没有办法返回FullyQualifiedNames列表?
因此,我不想收到TestMethodName ,而是希望收到NamespaceName。类名。测试方法名称。
您可以使用以下命令: vstest.console a.dll /ListFullyQualifiedTests /ListTestsTargetPath:Tests.txt
vstest.console a.dll /ListFullyQualifiedTests /ListTestsTargetPath:Tests.txt