SpecFlow “Generate Test Definition” context menu missing in VS2015
premkumar-gg opened this issue · 7 comments
I'm trying out VS2015 and writing SpecFlow feature files. When I right click on the file, I cannot find "Generate Test Definitions" context menu. This happens only in "Class Library (Package)" which is obviously DNX 5.0 library.
Here is my project.json:
{
"version": "1.0.0-*",
"description": "",
"authors": [ "" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
"dependencies": {
"SpecFlow": "1.9.0",
"SpecFlow.xUnit": "1.0.2",
"xunit": "2.1.0-beta3-build3029",
"xunit.extensions": "2.0.0"
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"System.Collections": "4.0.10-beta-22816",
"System.Linq": "4.0.0-beta-22816",
"System.Threading": "4.0.10-beta-22816",
"Microsoft.CSharp": "4.0.0-beta-22816"
}
}
}
And I have added SpecFlow Visual Studio 2015 extensions.
Am I missing something here?
But if I try the same in a normal Class Library that works fine.
Is it because there are no compile actions for files anymore, i.e. SpecFlowSingleFileGenerator isn't being called?
FWIW also doesn't work for dnx46.
I've done some investigation into a workaround until official support is available.
Can anyone tell me if the the VS Extension is open source? I'd like to take a look to see what would be required to implement support, but my Google-fu is weak and I can't find the source anywhere.
https://github.com/techtalk/SpecFlow.VisualStudio
On Mon, Nov 16, 2015 at 8:41 AM, Shannon Skinner notifications@github.com
wrote:
Can anyone tell me if the the VS Extension is open source? I'd like to
take a look to see what would be required to implement support, but my
Google-fu is weak and I can't find the source anywhere.—
Reply to this email directly or view it on GitHub
#457 (comment).
I haven't yet looked at the extension (thanks @samholder for the link), but in a bid to stop the hijacking of this thread, I've moved my discussion to the Google Group (and also created a NuGet package to generate .feature.cs files in .xproj's).
I'm closing this issue as DNX is not supported yet.
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.