Class StepReporter

  • All Implemented Interfaces:
    io.cucumber.plugin.ConcurrentEventListener, io.cucumber.plugin.Plugin

    @Deprecated(forRemoval=true,
                since="5.3.0")
    public class StepReporter
    extends AbstractReporter
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use ScenarioReporter, since the semantic of this class is completely broken and will be removed
    Cucumber reporter for ReportPortal that reports individual steps as test methods.

    Mapping between Cucumber and ReportPortal is as follows:

    • feature - SUITE
    • scenario - TEST
    • step - STEP
    Background steps are reported as part of corresponding scenarios. Outline example rows are reported as individual scenarios with [ROW NUMBER] after the name. Hooks are reported as BEFORE/AFTER_METHOD items (NOTE: all screenshots created in hooks will be attached to these, and not to the actual failing steps!)
    • Constructor Detail

      • StepReporter

        public StepReporter()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getRootItemId

        @Nonnull
        protected java.util.Optional<io.reactivex.Maybe<java.lang.String>> getRootItemId()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getRootItemId in class AbstractReporter
      • getFeatureTestItemType

        @Nonnull
        protected java.lang.String getFeatureTestItemType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from class: AbstractReporter
        Return RP launch test item name mapped to Cucumber feature
        Specified by:
        getFeatureTestItemType in class AbstractReporter
        Returns:
        test item name
      • getScenarioTestItemType

        @Nonnull
        protected java.lang.String getScenarioTestItemType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from class: AbstractReporter
        Return RP launch test item name mapped to Cucumber scenario
        Specified by:
        getScenarioTestItemType in class AbstractReporter
        Returns:
        test item name