开发者

How to jump to associated test method with Resharper

If I have a method and one or a few tests associated with that method, ca开发者_如何学Gon I jump quickly from the method to the test's implementation using keystroke or whatever?

I'm using visual studio 2010 and resharper beta 6. I can use "find usages" but that would pull out everything, not just tests. And I need to jump to tests very often and usually quick


Option 1: Use Find Usages, then, in the Find Results window, apply a filter called "Unit test usages". Disclaimer: this is off the top of my head, need to check tomorrow if it works exactly this way.

Option 2: Use dotCover which has a keystroke to show all tests covering a specific method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜