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

Support for UWP #470

Open bezysoftware opened 9 years ago

bezysoftware commented 9 years ago

Are there any plans for Specflow supporting WinRT / UWP?

bezysoftware commented 8 years ago

So...? Are there plans for v2 and Universal apps?

darrencauthon commented 8 years ago

What is UWP?

bezysoftware commented 8 years ago

Universal Windows platform - Windows 10 "modern" apps

darrencauthon commented 8 years ago

Perhaps I have lived a sheltered life, but... I don't understand why SpecFlow would need to support it. It's C# code, right? Will creating a reference to a UWP library from a regular ol' .Net assembly (for the SpecFlow tests) fail?

bezysoftware commented 8 years ago

Yes it will fail. UWP is a separate target outside of regular .NET / 4.0 / 4.5 / Silverlight etc. so referencing a 4.5 version from UWP project is not possible (and of course installing via nuget is also not possible at the moment).

bezysoftware commented 8 years ago

Hm, I cloned the v2 and just stupidly copy-pasted all sources from "Techtalk.Specflow" main project into Portable Class Library targetting UWP, and I can see adapting it won't be very straightforward. Some API is different / missing in UWP, namely reflection related API is quite different

koystinen commented 8 years ago

Any plans for adding Universal apps to the road map? It will be required to support current Windows Phone 8.1 stack and new Windows 10 universal applications.

koystinen commented 8 years ago

Food for through "Cross-Platform Development with the Portable Class Library" https://msdn.microsoft.com/en-us/library/gg597391(v=vs.110).aspx

cfeckardt commented 8 years ago

+1 would very much like UWP support as well.

godrose commented 8 years ago

SpecFlow depends on Gherkin which currently has support for neither UWP nor PCL

cfeckardt commented 7 years ago

Any news on this?

SabotageAndi commented 7 years ago

No. But we are working on .NET Core support, perhaps this will then also work for UWP. What you can do, is to move your logic, that you want to test, into a PCL and reference this from your .NET 4.5 unit test project.

JayConnerGhost commented 4 years ago

yah just used about 4 hours trying to get it to work before i found this issue - def be a +1 for me if it supported UWP /WINUI - i was going to use it with the WindowsDriver and BDD from a UI layer down

SabotageAndi commented 4 years ago

@JayConnerGhost We are happy to review PRs to add UWP Support to SpecFlow. The runtime works with .NET Standard 2.0, so it should not be a problem to get it running for UWP.