Code Monkey home page Code Monkey logo

Comments (15)

lewismj avatar lewismj commented on September 1, 2024 2

Published.
When I get some time off, I'll look to overhaul this - and make it Scala 3 compliant.

from sbt-cucumber.

Jeronimo-GL avatar Jeronimo-GL commented on September 1, 2024 1

I have the same issue.

Maybe a misconfiguration on my side?. it seems that it creates a directory and a file with the same name.

It seems to be here, in

List(PrettyPlugin,
        HtmlPlugin(cucumberDir),
        JsonPlugin(new File(cucumberDir, "cucumber.json")),
        JunitPlugin(new File(cucumberDir, "junit-report.xml"))
      )

from sbt-cucumber.

gedeh avatar gedeh commented on September 1, 2024 1

I resolved this issue using

CucumberPlugin.mainClass := "io.cucumber.core.cli.Main"
CucumberPlugin.plugin := {
  import com.waioeka.sbt.Plugin._
  val cucumberDir = CucumberPlugin.cucumberTestReports.value
  List(
    HtmlPlugin(new File(cucumberDir, "cucumber.html")),
    JsonPlugin(new File(cucumberDir, "cucumber.json")),
    JunitPlugin(new File(cucumberDir, "junit-report.xml"))
  )
}

from sbt-cucumber.

lewismj avatar lewismj commented on September 1, 2024 1

thanks, I've been waiting to update any Scala stuff for 3.0 :)

from sbt-cucumber.

cmannix avatar cmannix commented on September 1, 2024 1

Hi all, thanks for all the recent updates, they look great. I can see that #17 has been merged, and with it an update to the plugin version to 0.3.0, but as far as I can tell this version hasn't been published anywhere. Is it possible to release this new version please?

from sbt-cucumber.

gedeh avatar gedeh commented on September 1, 2024 1

Yeah @lewismj I also still cant see the newer version in Maven central. I thought it was on queue or something

from sbt-cucumber.

lewismj avatar lewismj commented on September 1, 2024 1

I think I may be able to publish this.
Apologies, lot going on with work - and knee deep in C++ refactoring/analytics and other bits and pieces.
Half my MacBook Pro screen is dead and this is the only PC with whatever passwords are hidden by system.

I've been looking at some graph stuff in Haskell tbh, but I think I'll give Scala 3 a go - seems to have improved a bit, finally its out. Both as a hobby and in work, the time to get Scala 3 out really doesn't help sell it, I,e, why adopt 'now' if the language is going to change 'soon' and 'soon' etc...

Anyway, new version should be out soon ish.

from sbt-cucumber.

dfurmans avatar dfurmans commented on September 1, 2024

That is correct! Would be great to put this into the configuration plugin.

We had the same issue. Maybe we could get rid of this Values Class - with that we could get rid of additional import required.
Would be more then happy to open an MR for that issue
Thanks @gedeh for workaround!

from sbt-cucumber.

gedeh avatar gedeh commented on September 1, 2024

Thanks, I could have a look later today and try to make a PR for this

from sbt-cucumber.

gedeh avatar gedeh commented on September 1, 2024

From the looks of it, it seems need him to run sbt publish with the username and password properly set https://github.com/sbt/sbt-cucumber/blob/master/build.sbt#L16

from sbt-cucumber.

dfurmans avatar dfurmans commented on September 1, 2024

Looks like something is missing here because in maven repo last version is 0.2.1

from sbt-cucumber.

lewismj avatar lewismj commented on September 1, 2024

I've not looked at this for a while. sbt is broken with homebrew at the moment.

from sbt-cucumber.

dfurmans avatar dfurmans commented on September 1, 2024

Many thanks!
@lewismj the scala-3-migrate-plugin is a great tool for make the Scala 3 migration fluent and painless :)

from sbt-cucumber.

lewismj avatar lewismj commented on September 1, 2024

May take a bit of time for the latest publish to sync, but 0.3.1 should be there tomorrow.
I need to get back into some Scala stuff, so will upgrade to Scala 3 and might look at any other fixes.

from sbt-cucumber.

cmannix avatar cmannix commented on September 1, 2024

Thanks @lewismj 🎉

from sbt-cucumber.

Related Issues (16)

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.