@API(status=STABLE) public final class Scenario extends Object
Note: This class is not intended to be used to create reports. To create custom reports use
the io.cucumber.plugin.Plugin
class. The plugin system provides a much richer access to Cucumbers then
hooks after could provide. For an example see io.cucumber.core.plugin.PrettyFormatter
.
Modifier and Type | Method and Description |
---|---|
void |
embed(byte[] data,
String mediaType)
Deprecated.
|
void |
embed(byte[] data,
String mediaType,
String name) |
String |
getId() |
Integer |
getLine() |
String |
getName() |
Collection<String> |
getSourceTagNames() |
Status |
getStatus() |
URI |
getUri() |
boolean |
isFailed() |
void |
write(String text) |
public Collection<String> getSourceTagNames()
public Status getStatus()
public boolean isFailed()
@Deprecated public void embed(byte[] data, String mediaType)
public void write(String text)
public String getName()
public String getId()
public URI getUri()
public Integer getLine()
Copyright © 2020. All rights reserved.