Class SerenityBackend

java.lang.Object
cucumber.runtime.SerenityBackend
All Implemented Interfaces:
io.cucumber.core.backend.Backend

public class SerenityBackend extends Object implements io.cucumber.core.backend.Backend
  • Constructor Details

    • SerenityBackend

      public SerenityBackend()
  • Method Details

    • loadGlue

      public void loadGlue(io.cucumber.core.backend.Glue glue, List<URI> gluePaths)
      Invoked once before all features. This is where stepdefs and hooks should be loaded.
      Specified by:
      loadGlue in interface io.cucumber.core.backend.Backend
    • buildWorld

      public void buildWorld()
      Invoked before a new scenario starts. Implementations should do any necessary setup of new, isolated state here.
      Specified by:
      buildWorld in interface io.cucumber.core.backend.Backend
    • disposeWorld

      public void disposeWorld()
      Invoked at the end of a scenario, after hooks
      Specified by:
      disposeWorld in interface io.cucumber.core.backend.Backend
    • getSnippet

      public io.cucumber.core.backend.Snippet getSnippet()
      Specified by:
      getSnippet in interface io.cucumber.core.backend.Backend