Closed mikethecalamity closed 3 years ago
I guess in theory it would be possible (although being quite some effort). But such an implementation could not make use of the build in support for running Cucumber on Junit5 Platform. This project is extending JUnit5 Jupiter to integrate Serenity. The Cucumber team decided not to extend JUnit5 Jupiter and instead implemented a custom engine. So from my perspective adding support for Cucumber here would be a dead end in the long run and not worth the effort.
see also https://github.com/fabianlinz/serenity-junit5/issues/29#issuecomment-908700828
Is it possible for you to add an annotation for replacing
@RunWith(net.serenitybdd.cucumber.CucumberWithSerenity.class)
? Or is that already supported by@SerenityTest
?