Giter Club home page Giter Club logo

Comments (12)

smudge202 avatar smudge202 commented on July 28, 2024 1

I just used this package. Works great; thank you, @erik-lundgren . Hopefully the PR will happen (need a hand?) and we can get this onto NuGet - using private feed currently.

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024 1

https://www.nuget.org/packages/SpecFlow.NetCore/1.0.0-alpha1

from specflow.netcore.

erik-inkapool avatar erik-inkapool commented on July 28, 2024

I've added the support and a copy of your sample project updated to asp.net core 1.0.0 in my fork at https://github.com/erik-lundgren/SpecFlow.Dnx/tree/dotnetcore if you want to have a look.

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

👍

Yes, happy to take a PR! I haven't updated to RTM yet myself (on my list), so I'll blindly merge it in if you are okay with supporting it.

from specflow.netcore.

erik-inkapool avatar erik-inkapool commented on July 28, 2024

Hey @smudge202!

Thank you for the kind words. I'll be trying to make the PR happen during this weekend. I think the docs need a slight update and there's possibly a better way to do this as currently the tests are not discovered unless you build twice. If anyone knows how to make the tests discoverable after the first build please let me know :)

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

The docs will be easy to update. I also have to update references from dnx > dotnet.

The build twice thing: is that new for dotnet?

from specflow.netcore.

smudge202 avatar smudge202 commented on July 28, 2024

I hadn't noticed it was double building. Will investigate also (shouldn't be necessary).

from specflow.netcore.

erik-inkapool avatar erik-inkapool commented on July 28, 2024

It's not double building. Currently it executes during pre-compile as I assumed this would be before build and before test discovery. However when generating files for the first time in a project the tests do not get discovered. To repro, remove the "precompile": [ "dotnet specflow" ] line in the scripts section of my sample project, delete any .feature.cs files and rebuild the project. No tests should (correctly) have been discovered at this point. Now, add the line, back, rebuild the project. No tests have still been discovered (incorrect). Rebuild again, now the tests appear.

It seems it has to do with new files being added to the project, as when you change the .feature files those changes are picked up immediately. I'll add an issue for this if I get the pull request accepted.

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

Hmm, sounds a bit weird. Yeah add an issue for it and can check it out later. I've merged in the PR (#20) but I'll leave this open until I've got the package up on nuget.org, dependent on renaming things (#21).

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

Since I had renamed the repo and package, I thought I would restart the version numbering (hence alpha1). However the repo rename is a lie, and the git history still keeps existing tags - the latest tag being beta2. So to avoid a weird state where the most recent code has a tag that is before older code, I thought fuck it and re-tagged it RC!

https://www.nuget.org/packages/SpecFlow.NetCore/1.0.0-rc1

from specflow.netcore.

smudge202 avatar smudge202 commented on July 28, 2024

Bearing in mind that the aspnetcore dependencies are RTM now (and specflow is stable) should this package be using an alpha/beta tag?

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

Probs not. I'll get rid of it soon.

from specflow.netcore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.