https://kotlinlang.org logo
Join SlackCommunities
Powered by
# cucumber-bdd
  • a

    Alexiscanny

    10/10/2017, 3:38 PM
    set the channel description: Clarifying how to use Cucumber with Kotlin
  • a

    Alexiscanny

    10/10/2017, 3:43 PM
    Hi guys I open this channel because I would like to see if is anyone out there with my same problem... I used quite a lot Cucumber and Espresso to build my bdd, now that I moved to kotilin I was trying to create my bdd using kt syntax and what I just realise is that my file "Activity.feature" doesn't get recognized... Is anyone with my same issue?
    l
    • 2
    • 1
  • a

    Alexiscanny

    10/10/2017, 3:44 PM
    And maybe here we can talk more about Bdd using cucumber
  • d

    dmcg

    10/14/2017, 10:38 AM
    Shameless plug - if you're in this area you might want to try https://github.com/dmcg/konsent - it lets you write your tests in Kotlin but show the results in Gerkin
  • m

    mlvandijk

    01/12/2019, 8:18 AM
    Hi everyone, you can use Cucumber-jvm to write your Cucumber automation in Kotlin. I wrote a blogpost about it: https://medium.com/@mlvandijk/kukumber-getting-started-with-cucumber-in-kotlin-e55112e7309b - Also examples in Kotlin have been added to the Cucumber docs: https://docs.cucumber.io/
  • m

    mlvandijk

    01/12/2019, 8:18 AM
    Unfortunately I don't use Android so I can't say anything about using Cucumber-android with Kotlin.
  • b

    Brendan Campbell-hartzell

    05/07/2021, 6:31 PM
    Had a kotlin 1.4.3 with java 14 project running cucumber tests just fine using lambda step definitions in cucumber-java8. Now, with Kotlin 1.5, I'm getting the "This version of cucumber-java8 is not compatible with Java 12+" error. Tried reducing the java version down to 11, but I still get the error. Did something change with SAM lambda in 1.5 that makes their java class unrecognizable? Slack Conversation