public class Feature extends BDDDocument
| Constructor and Description |
|---|
Feature() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCoverage()
Returns the test coverage of this feature, in percentage.
|
String |
getNamespace()
Returns the namespace of the feature.
|
List<Scenario> |
getScenarios()
Returns the scenarios of the feature.
|
List<String> |
getTags()
Returns the tags of the feature.
|
boolean |
hasScenario()
Are there any scenarios in the feature?
|
boolean |
hasTag()
Are there any tags in the feature?
|
void |
setCoverage(Integer coverage)
Sets the test coverage of this feature, in percentage.
|
void |
setNamespace(String namespace)
Sets the namespace of the feature.
|
getComments, getDescription, getFullPath, getKeyword, getLanguage, getName, getRelativePath, hasComment, setDescription, setFullPath, setKeyword, setLanguage, setName, setRelativePath, toStringpublic String getNamespace()
public void setNamespace(String namespace)
namespace - the namespace of the featurepublic Integer getCoverage()
public void setCoverage(Integer coverage)
coverage - test coveragepublic boolean hasTag()
true if the feature has tagspublic List<String> getTags()
public boolean hasScenario()
true if the feature has scenariosCreated by Kornél Simon, 2022