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.22k stars 751 forks source link

Better FSharp support #808

Open daniellittledev opened 7 years ago

daniellittledev commented 7 years ago

The documentation for FSharp states the following:

Note: You need to create a C# or VB project for hosting the feature files and configure your F# project(s) as external binding assemblies:

<specFlow>
  <stepAssemblies>
    <stepAssembly assembly="MyFSharpBindings" />
  </stepAssemblies>
</specFlow>

It would be ideal to avoid the second project.

SabotageAndi commented 7 years ago

As long as we are depending on code behind files, this is currently the only option. This is, because we have no generator for the code-behind files for F# at the moment.

The Generator source is found here: https://github.com/techtalk/SpecFlow/tree/master/TechTalk.SpecFlow.Generator

As I am also a big fan of F#, I also want to see better support for it, so if you would need some help or guidance, give me a ping on out Gitter channel.