serenity-bdd / serenity-cucumber-starter

A skeleton project for Serenity BDD and Cucumber JVM
Apache License 2.0
178 stars 280 forks source link

Any choices if my team don't want to apply Screenplay pattern in Serenity framework #126

Open ldt0589 opened 9 months ago

ldt0589 commented 9 months ago

For my project, it requires to use Serenity with Cucumber +Junit. People in team doesn't want to apply Screenplay pattern in framework. So i see that most of available template project of Serenity is using Cucumber with Screenplay. So:

  1. Could someone please help to suggest the choice?
  2. And currently, Serenity doesn't support Cucumber with Junit, right?
ldt0589 commented 9 months ago

@wakaleo Could you please help to give a suggestion?

wakaleo commented 9 months ago

Serenity supports many coding styles. You can use plain page objects, or use step libraries for better living documentation. You can also use Serenity with JUnit and Cucumber together. You can use the same approach as used in this example: https://github.com/serenity-bdd/serenity-junit-pageobjects-starter or as explained in the docs here: https://serenity-bdd.github.io/docs/guide/step_libraries