SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.24k stars 754 forks source link

All of a sudden step bindings are not being found for the steps present in feature file. #1489

Closed RajaAutomation closed 5 years ago

RajaAutomation commented 5 years ago

All of a sudden step bindings are not being found for the steps present in feature file. The steps are appearing with violet color all of a sudden. This issue did not occur until 2nd April but after pulling the latest code from our project this issue is seen. Note:- This issue is not seen for all users who have also pulled the latest code

SpecFlow Version:

Used Test Runner

3.10.1

Visual Studio Version

Are the latest Visual Studio updates installed?

.NET Framework:

Test Execution Method:

<SpecFlow> Section in app.config or content of specflow.json

<specFlow>
    <!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config -->
  <stepAssemblies>
    <stepAssembly assembly="UITesting.eSignature" />
    <stepAssembly assembly="UITesting.Shared" />
    <stepAssembly assembly="ConnectOnlineRegression.FinanceOnline" />
    <stepAssembly assembly="ConnectOnlineRegression.ConnectOnline" />
  </stepAssemblies>
  <unitTestProvider name="NUnit" />
  <plugins>
      <add name="SpecFlow.Plus.Excel" type="Generator" />
  </plugins>
</specFlow>

Repro Project

Issue Description

All of a sudden step bindings are not being found for the steps present in feature file. The steps are appearing with violet color all of a sudden. This issue did not occur until 2nd April but after pulling the latest code from our project this issue is seen. Note:- 1.This issue is not seen for all users who have also pulled the latest code

  1. I am able to debug and run tests successfully with this issue however it looks annoying when writing new tests as the bindings are not being found for the steps.

Steps to Reproduce

RajaAutomation commented 5 years ago

@gasparnagy I am able to debug and run tests successfully with this issue however it looks annoying when writing new tests as the bindings are not being found for the steps.

SabotageAndi commented 5 years ago

@RajaAutomation please update the VS extension. I uploaded a fixed one one hour ago. With it, your issue should be fixed.

RajaAutomation commented 5 years ago

@SabotageAndi Do you mean i should take the visual studio 2017 update version 15.9.11.

SabotageAndi commented 5 years ago

No, not Visual Studio Update. You have to update the Visual Studio Extension (https://marketplace.visualstudio.com/items?itemName=TechTalkSpecFlowTeam.SpecFlowforVisualStudio2017).

RajaAutomation commented 5 years ago

@SabotageAndi .Issue resolved by taking the specflow update. Thanks you Issue can be closed.

SabotageAndi commented 5 years ago

Thanks for the feedback!

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.