Search code examples
c#resharpervisual-studio-2012specflowacceptance-testing

How to navigate to feature file from resharper test session window in Visual Studio 2012?


For acceptance testing I use TeckTalk SpecFlow in Visual Studio 2012. When I run all specflow scenarios, resharper unit test session windows is opened I can see all test results. Like on screen shot below.

enter image description here

The question is, when I see failed test (scenario) in some feature file, how can I navigate directly to this feature file from resharper session window to edit it???


Solution

  • It seems to work perfectly well if run via the new VS2012 Test explorer, which on my machine worked automatically from "Run SpecFlow Scenarios" on the project menu. I can only assume Resharper is getting in the way on your machine.

    Try Test->Run->All, then all you have to do is double click the test and it takes you straight to the scenario in question.

    VS2012 SpecFlow integration