cucumber-jvm-scala icon indicating copy to clipboard operation
cucumber-jvm-scala copied to clipboard

Provide a cucumber-scalatest integration

Open gaeljw opened this issue 4 years ago • 3 comments

Describe the solution you'd like A integration library "cucumber-scalatest" that would remove the need for "cucumber-junit" and runs the Cucumber scenarios as Scalatest instances.

gaeljw avatar Dec 04 '21 17:12 gaeljw

Might be good to work out some sort of public API to run Cucumber programmatically to make this possible. Currently it's all internal APIs which are not stable.

mpkorstanje avatar Dec 04 '21 20:12 mpkorstanje

I didn't look at what this implies yet but I was hoping the public API was already there for JUnit/TestNG 😅

Maybe the approach would then be to see what's needed for integration with Scalatest and then identify what's common with JUnit/TestNG.

Thanks for the notice @mpkorstanje

gaeljw avatar Dec 05 '21 07:12 gaeljw

JUnit, TestNG, and JUnit 5 and the CLI have such different requirements and structure that each of them needs a unique aspect exposed.

As a result the current internal API is mostly a collection of ad-hoc concepts.

mpkorstanje avatar Dec 05 '21 10:12 mpkorstanje