-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Add Cucumber Kotlin Junit5 example #2999
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
Add Cucumber Kotlin Junit5 example #2999
Conversation
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
… into cucumber-kotlin-testng-examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the example!
As this is primarily a Kotlin example, would it be possible to use JUnit 5 as the test runner instead of TestNG? When using JUnit 5, please also use the JUnit BOM (see the other examples).
Now that JUnit 5 exists I would not expect JUnit 4 to be used.
.../calculator-kotlin-testng/src/main/kotlin/io/cucumber/examples/calaculator/DateCalculator.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: M.P. Korstanje <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
…orts Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Co-authored-by: M.P. Korstanje <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
…orts Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Signed-off-by: Jitendra_Singh2 <[email protected]>
Cheers! |
|
🤔 What's changed?
Added the module
cucumber-kotlin-junit5
in examples⚡️ What's your motivation?
I am a developer, who is progressing on the goal of becoming test automation architect. I value BDD as a way to build clear, testable, and business oriented software. I noticed recently that some Kotlin developers have also integrated with cucumber-jvm in test automation work. I also got opportunity to learn Kotlin.
To support Kotlin users and my own learning, I have created a
cucumber-kotlin-
module after taking inspiration fromcucumber-java-testng
module.My contribution intent is:
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
I will be grateful to the community to provide suggestions on improving the examples.
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.