Package com.epam.reportportal.cucumber
Class StepReporter
- java.lang.Object
-
- com.epam.reportportal.cucumber.AbstractReporter
-
- com.epam.reportportal.cucumber.StepReporter
-
- All Implemented Interfaces:
io.cucumber.plugin.ConcurrentEventListener,io.cucumber.plugin.Plugin
@Deprecated(forRemoval=true, since="5.3.0") public class StepReporter extends AbstractReporterDeprecated, for removal: This API element is subject to removal in a future version.UseScenarioReporter, since the semantic of this class is completely broken and will be removedCucumber reporter for ReportPortal that reports individual steps as test methods.Mapping between Cucumber and ReportPortal is as follows:
- feature - SUITE
- scenario - TEST
- step - STEP
-
-
Field Summary
-
Fields inherited from class com.epam.reportportal.cucumber.AbstractReporter
BACKGROUND_PREFIX, DOCSTRING_DECORATOR, HOOK_, METHOD_OPENING_BRACKET, WORKING_DIRECTORY
-
-
Constructor Summary
Constructors Constructor Description StepReporter()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.StringgetFeatureTestItemType()Deprecated, for removal: This API element is subject to removal in a future version.Return RP launch test item name mapped to Cucumber featureprotected java.util.Optional<io.reactivex.Maybe<java.lang.String>>getRootItemId()Deprecated, for removal: This API element is subject to removal in a future version.protected java.lang.StringgetScenarioTestItemType()Deprecated, for removal: This API element is subject to removal in a future version.Return RP launch test item name mapped to Cucumber scenario-
Methods inherited from class com.epam.reportportal.cucumber.AbstractReporter
afterHooks, afterLaunch, afterScenario, afterStep, beforeHooks, beforeLaunch, beforeScenario, beforeStep, buildFinishTestItemRequest, buildMultilineArgument, buildReportPortal, buildStartFeatureRequest, buildStartHookRequest, buildStartLaunchRq, buildStartRuleRequest, buildStartScenarioRequest, buildStartStepRequest, embedding, extractAttributes, finishTestItem, finishTestItem, finishTestItem, formatDataTable, getAttributes, getCodeRef, getCodeRef, getCurrent, getDescription, getDescription, getEmbedEventHandler, getHookTypeAndName, getItemTree, getLaunch, getParameters, getReportPortal, getStepName, getTestCaseFinishedHandler, getTestCaseId, getTestCaseId, getTestCaseStartedHandler, getTestRunFinishedHandler, getTestRunStartedHandler, getTestSourceParsedHandler, getTestStepFinishedHandler, getTestStepStartedHandler, getWriteEventHandler, handleEndOfFeature, handleSourceEvents, handleStartOfTestCase, handleTestStepFinished, handleTestStepStarted, mapItemStatus, mapLevel, reportResult, sendLog, sendLog, setEventPublisher, startFeature, startHook, startRule, startScenario, startStep
-
-
-
-
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:
getRootItemIdin classAbstractReporter
-
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:AbstractReporterReturn RP launch test item name mapped to Cucumber feature- Specified by:
getFeatureTestItemTypein classAbstractReporter- 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:AbstractReporterReturn RP launch test item name mapped to Cucumber scenario- Specified by:
getScenarioTestItemTypein classAbstractReporter- Returns:
- test item name
-
-