Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin doesn't recognize the steps written in F# #44

Open
chirkin-ef opened this issue Mar 10, 2021 · 3 comments
Open

The plugin doesn't recognize the steps written in F# #44

chirkin-ef opened this issue Mar 10, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@chirkin-ef
Copy link

chirkin-ef commented Mar 10, 2021

Hi all. I've faced up with the strange behavior of the plugin after the installation in Rider (2020.3.1-2020.3.3).
My solution contains the SpecFlow C# project with the .feature and .feature.cs files and F# project with the steps descriptions. F# project is a project reference for the SpecFlow C# project.
After the installation, the plugin underscores the scenarios in the feature file and notifies that there're no binded steps for these scenarios.
If I try to ignore this notification and just run the tests (both of the scenarios and Unit Tests window) - everything is OK. Tests are passing correctly.
Summarizing the facts, there're two suspicious moments here - I use F# for the steps description, and these F# steps files are placed in the different project. Could it somehow affect the plugin's work? Why does it underscore the scenarios?

@Socolin
Copy link
Collaborator

Socolin commented Mar 12, 2021

Hello,

The plugin is currently written to detect steps in C# files. We should be able to adapt this for F#, it just need some works and see what code can be reuse for F# and what is specific.

@Socolin Socolin added the bug Something isn't working label Mar 12, 2021
@suttorres
Copy link

I'm subscribing to this bug since it is something that is affecting my team. As mentioned above, tests run with no issues but it is very inconvenient not to being able to navigate to the steps code in F#. This is not an issue in Visual Studio, but we are leaning towards Rider as an IDE.
A quick sample to see this issue is in the SpecFlow samples: https://github.com/SpecFlowOSS/SpecFlow-Examples/tree/master/BowlingKata/BowlingKata-Fsharp

@Chief5385
Copy link

I'm having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants