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.
我使用 Mstest.exe 工具执行测试,它创建了自动 trx 文件,其中包含有关测试结果的所有详细信息。
我想从我的 .Net 应用程序中获取 trx 文件中每个测试的完整路径,但我在 trx 文件中找不到这样的字段,只有 guid 号。
例如:Trx 文件生成:136460b1-a82c-5643-db6e-e53df99gbf9f
虽然我希望获得完整的测试路径:PaSqlTest1ce.SetItemHandlingCharacteristics.SqlTest1
谢谢你的帮助
尝试使用“Testdefinitions”标签和“storage”、“classname”、“name”来解析 trx 文件,以获取完整路径