Giter VIP home page Giter VIP logo

serenity-cucumber5-starter's People

Contributors

turturie avatar wakaleo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

serenity-cucumber5-starter's Issues

Cucumber 5 Documentation

I'm trying to upgrade from serenity-core version 2.1.10 to the latest version 2.2.2. In version 2.1.0 I have a class as follows:

import cucumber.api.CucumberOptions;
import net.serenitybdd.cucumber.CucumberWithSerenity;
import org.junit.runner.RunWith;

@RunWith(CucumberWithSerenity.class)
@CucumberOptions(
  features = "...",
  glue = "..."
)
public class CucumberIntegrationTest { }

When I upgrade to any version of serenity-core past version 2.1.10 this class will not compile because cucumber.api.CucumberOptions is no longer on the classpath. So while trying to figure out how to bootstrap my serenity cucumber tests with any version greater than 2.1.10 I stumbled upon this page:

https://github.com/serenity-bdd/serenity-cucumber5-starter

The title of this page indicates it will document Cucumber 5, but the entirety of the page content indicates usage of Cucumber 4.

This documentation (either the title, or the content) should be fixed to be congruent.

I just recently started using serenity. What a fantastic project! I bootstrapped my project configuration following https://serenity-bdd.github.io/theserenitybook/latest/cucumber.html. It would be great if that documentation would also be updated to demonstrate how to configure serenity with cucumber using the latest version (which at the time of this writing is version 2.2.2).

NOTE: If someone else comes to this issue because it appears @CucumberOptions is no longer available, I found the reason is because version 2.2.2 requires serenity-cucumber5 instead of serenity-cucumber.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.