从VS中的测试资源管理器获取测试列表 [英] Getting list of tests from Test Explorer in VS

查看:143
本文介绍了从VS中的测试资源管理器获取测试列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个高级 /简单的问题。我正在尝试获取VS2012的测试资源管理器中填充的所有测试的列表。我想将其与测试列表进行比较,我想知道是否有办法从Test Explorer中获取所有名称,例如复制/粘贴,导出到csv或类似性质的任何内容。

This is kind of a "high level"/simple question. I'm trying to get just a list of all the tests that are populated in my Test Explorer in VS2012. I'd like to compare it to a list of tests and I was wondering if there is any way to just get all the names out of the Test Explorer, like a copy/paste, export to csv or anything of that nature.

推荐答案

在测试资源管理器中选择所有测试并将其添加到播放列表文件中。播放列表功能需要VS 2012 Update2。请参阅 http://msdn.microsoft。 com / zh-CN / library / hh270865.aspx#BKMK_Create_custom_playlists

Select all tests in Test Explorer and add them to a playlist file. Playlist feature needs VS 2012 Update 2. See http://msdn.microsoft.com/en-us/library/hh270865.aspx#BKMK_Create_custom_playlists

这篇关于从VS中的测试资源管理器获取测试列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆