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

SpecFlow “Generate Test Definition” context menu missing in VS2015 #457

Closed
premkumar-gg opened this issue Jul 2, 2015 · 7 comments
Closed

Comments

@premkumar-gg
Copy link

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.

@stajs
Copy link

stajs commented Oct 15, 2015

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.

@stajs
Copy link

stajs commented Nov 16, 2015

I've done some investigation into a workaround until official support is available.

@stajs
Copy link

stajs commented Nov 16, 2015

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.

@samholder
Copy link
Contributor

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).

@stajs
Copy link

stajs commented Nov 18, 2015

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).

@samholder
Copy link
Contributor

I'm closing this issue as DNX is not supported yet.

@lock
Copy link

lock bot commented Jul 9, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants