public class CucumberScenarioResult extends Object
| Modifier and Type | Field and Description |
|---|---|
private CucumberBeforeAfterResult |
after |
private CucumberBeforeAfterResult |
before |
private String |
description |
private double |
duration |
private String[] |
excludeCoverageTags |
private int |
failed |
private CucumberFeatureResult |
feature |
private String |
id |
private String[] |
includeCoverageTags |
private String |
keyword |
private Long |
line |
private String |
name |
private int |
passed |
private int |
rerunAttempts |
private int |
skipped |
private CucumberStepResult[] |
steps |
private CucumberTagResults[] |
tags |
private String |
type |
private int |
undefined |
| Constructor and Description |
|---|
CucumberScenarioResult(com.cedarsoftware.util.io.JsonObject<String,Object> json) |
private CucumberFeatureResult feature
private String id
private CucumberTagResults[] tags
private String description
private String name
private String keyword
private Long line
private CucumberStepResult[] steps
private String type
private CucumberBeforeAfterResult before
private CucumberBeforeAfterResult after
private int passed
private int failed
private int skipped
private int undefined
private double duration
private int rerunAttempts
private String[] includeCoverageTags
private String[] excludeCoverageTags
public void valuate()
public final int getPassed()
public final int getFailed()
public final int getUndefined()
public final int getSkipped()
public String getStatus()
public final String getId()
public final String getDescription()
public final String getName()
public final String getKeyword()
public final Long getLine()
public final CucumberStepResult[] getSteps()
public final String getType()
public final void setId(String idValue)
idValue - the id to setpublic final void setDescription(String descriptionValue)
descriptionValue - the description to setpublic final void setName(String nameValue)
nameValue - the name to setpublic final void setKeyword(String keywordValue)
keywordValue - the keyword to setpublic final void setLine(Long lineValue)
lineValue - the line to setpublic final void setSteps(CucumberStepResult[] stepsValue)
stepsValue - the steps to setpublic final void setType(String typeValue)
typeValue - the type to setpublic final CucumberTagResults[] getTags()
public final void setTags(CucumberTagResults[] tagsValue)
tagsValue - the tags to setpublic final double getDuration()
public final CucumberBeforeAfterResult getBefore()
public final CucumberBeforeAfterResult getAfter()
public final int getRerunAttempts()
public void addRerunAttempts(int count)
public String[] getAllTags()
public final String[] getIncludeCoverageTags()
public final void setIncludeCoverageTags(String[] includeCoverageTagsValue)
public final String[] getExcludeCoverageTags()
public final void setExcludeCoverageTags(String[] excludeCoverageTagsValue)
public CucumberFeatureResult getFeature()
public void setFeature(CucumberFeatureResult featureValue)
public boolean isSameAs(CucumberScenarioResult another)
Copyright © 2013-2016. All Rights Reserved.