VS 2010和MbUnit的如何运行只是一个测试 [英] VS 2010 and MBUnit how to run just one test
问题描述
我已经安装了公堂/ MbUnit的和正在使用VS 2010 RC版,我希望能够运行一个单一的单元测试或只是一个的TestFixture里面所有的单元测试,而不是在整个项目每次我调试所有测试。你怎么在VS 2010中做到这一点?
I have Gallio/MbUnit installed and am using VS 2010 RC and I want to be able to run a single unit test or just all unit tests inside of a TestFixture and not all the tests in the entire project everytime I debug. How do you do this in VS 2010?
推荐答案
我没有看到它前面,但相较于2010年都有一个测试列表编辑器,让我具体测试添加到AA列表并使得只有一个测试运行从那里运行它。我知道,TD.Net可能有一个测试方法的右键/运行测试选项,但我不想买它,并安装另一个工具。
I didn't see it earlier but VS 2010 has a Test List Editor which allows me to add the specific test to a a list and run it from there so that only the one test is run. I know that TD.Net probably has a right click/run test option for a test method but I didn't want to buy it and install yet another tool.
这篇关于VS 2010和MbUnit的如何运行只是一个测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!