SpecFlowOSS / SpecFlow.VisualStudio

Visual Studio extension of SpecFlow (extracted from the main SpecFlow repo)
Other
67 stars 73 forks source link

Step Definitions Missing in Feature Files #148

Open yoyo-array0825 opened 6 years ago

yoyo-array0825 commented 6 years ago

Issue Description

Hi.

Following a recent update, my step definition references are missing from my feature files. 'Go to Definition' at the step level throws the dialog in below screenshot. The step definitions have not moved or been modified, and tests are running as expected.

Steps in external file(s).

Things Already Tried

Other Things of Note

SpecFlow Version:

Used Test Runner

Version number: 1.8.2

Visual Studio Version

Are the latest Visual Studio updates installed?

.NET Framework:

Test Execution Method:

Section in app.config

  <specFlow>

    <stepAssemblies>
      <stepAssembly assembly="WebIZ.Test.Specflow" />
    </stepAssemblies>
    <unitTestProvider name="SpecRun" />
    <plugins>
      <add name="SpecRun" />
    </plugins>
  </specFlow>

Repro Project

screenshot-08y0yu9ui0

Steps to Reproduce

No idea

SabotageAndi commented 6 years ago

Are the steps in the external step assemblies?

yoyo-array0825 commented 6 years ago

Yes.

SabotageAndi commented 6 years ago

The VS Integration has problems with the syntax highlighting when external step assemblies are used. That's a known issue. Sadly we never found the time to have a look at it.