Package net.masterthought.cucumber
Interface Reportable
-
- All Known Implementing Classes:
EmptyReportable,Feature,OverviewReport,TagObject
public interface ReportableDefines methods required to generate single report. Implementations of this interface are used by Velocity template.- Author:
- Damian Szczepanik (damianszczepanik@github)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetDuration()intgetFailedFeatures()intgetFailedScenarios()intgetFailedSteps()intgetFeatures()StringgetFormattedDuration()StringgetName()intgetPassedFeatures()intgetPassedScenarios()intgetPassedSteps()intgetPendingSteps()intgetScenarios()intgetSkippedSteps()StatusgetStatus()intgetSteps()intgetUndefinedSteps()
-
-
-
Method Detail
-
getName
String getName()
- Returns:
- name of the element that will be displayed to user.
-
getFeatures
int getFeatures()
- Returns:
- number of features for this element.
-
getPassedFeatures
int getPassedFeatures()
- Returns:
- number of passed features for this element.
-
getFailedFeatures
int getFailedFeatures()
- Returns:
- number of failed features for this element.
-
getScenarios
int getScenarios()
- Returns:
- number of scenarios for this element.
-
getPassedScenarios
int getPassedScenarios()
- Returns:
- number of passed scenarios for this element.
-
getFailedScenarios
int getFailedScenarios()
- Returns:
- number of failed scenarios for this element.
-
getSteps
int getSteps()
- Returns:
- number of all steps for this element.
-
getPassedSteps
int getPassedSteps()
- Returns:
- number of passed steps for this element.
-
getFailedSteps
int getFailedSteps()
- Returns:
- number of failed steps for this element.
-
getSkippedSteps
int getSkippedSteps()
- Returns:
- number of skipped steps for this element.
-
getUndefinedSteps
int getUndefinedSteps()
- Returns:
- number of undefined steps for this element.
-
getPendingSteps
int getPendingSteps()
- Returns:
- number of pending steps for this element.
-
getDuration
long getDuration()
- Returns:
- duration as milliseconds for this element.
-
getFormattedDuration
String getFormattedDuration()
- Returns:
- formatted duration for this element.
-
getStatus
Status getStatus()
- Returns:
- status for this element.
-
-