Class FluentCucumberTest

    • Constructor Detail

      • FluentCucumberTest

        protected FluentCucumberTest​(FluentControlContainer container,
                                     Class clazz,
                                     SharedMutator sharedMutator)
        Constructor used within module. Creates a new FluentLenium cucumber test and points within FluentTestContainer.
        Parameters:
        container - driver container
        clazz - class from which FluentConfiguration annotation will be loaded
        sharedMutator - shared mutator
      • FluentCucumberTest

        protected FluentCucumberTest​(FluentControlContainer container,
                                     SharedMutator sharedMutator)
        Constructor used within module. Creates a new FluentLenium cucumber test and points within FluentTestContainer.
        Parameters:
        container - driver container
        sharedMutator - shared mutator
    • Method Detail

      • before

        public void before​(io.cucumber.java8.Scenario scenario)
        Initializes this adapter with the provided Scenario.

        It also performs a Selenium version check to make sure a compatible version is used in the user's project.

        Parameters:
        scenario - the Java8 Cucumber scenario
      • after

        public void after​(io.cucumber.java8.Scenario scenario)
        Stops this adapter, and marks the provided scenario as finished, and also as failed, if necessary, according to its status.
        Parameters:
        scenario - the Java8 Cucumber scenario
      • before

        public void before​(io.cucumber.java.Scenario scenario)
        Initializes this adapter with the provided Scenario.

        It also performs a Selenium version check to make sure a compatible version is used in the user's project.

        Parameters:
        scenario - Cucumber scenario
      • after

        public void after​(io.cucumber.java.Scenario scenario)
        Stops this adapter, and marks the provided scenario as finished, and also as failed, if necessary, according to its status.
        Parameters:
        scenario - Cucumber scenario