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?
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
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