阅读背景:

从MbUnit中的许多夹具运行单个单元测试

来源:互联网 

Is there anyway to add an attribute to a [Test] method in a [TestFixture] so that only that method runs? This would be similar to the way the [CurrentFixture] attribute can be used to only run a single fixture. I ask as sometimes when I test the model I want to profile the sql being executed and I only want to focus on a single test. Currently I have to comment out all the other tests in the fixture.Is there anyway to add an attribute to a [Test]




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: