简体   繁体   中英

Specflow Resharper test runner navigate to feature file

Is there a consistant way of navigating from a test in a Resharper test session to the feature file? When I double click a test in the session window most of the time it takes me the *.feature.cs and not the '*.feature'. However sometime this does work. Is this a bug? I found these things already:

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

https://resharper-support.jetbrains.com/hc/en-us/community/posts/206649425-Navigating-to-SpecFlow-Features-from-Test-Runner

But not much else. Is there some jedi/ninja trick I'm missing to get this to work the same way everytime, ie double click the test in the session window and go to the feature file

What you can do when it takes you to the generated code is to right click in the code, click navigate, then click related files, and you'll see the feature file there. A bit long winded I know but it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM