public class BenchmarkRowData extends Object
Modifier and Type | Field and Description |
---|---|
private String |
name |
private OverviewStats[] |
results |
Constructor and Description |
---|
BenchmarkRowData() |
BenchmarkRowData(String nameValue,
OverviewStats[] resultsValue) |
Modifier and Type | Method and Description |
---|---|
void |
addFeatureResults(String featureId,
CucumberFeatureResult[][] featureResults) |
void |
addScenarioResults(String scenarioId,
CucumberScenarioResult[][] scenarioResults) |
String |
getName()
Gets the feature or scenario name in the benchmark report table.
|
OverviewStats[] |
getResults()
Gets the array of
OverviewStats objects containing statistical information
about each run in benchmark. |
static CucumberScenarioResult[][] |
toScenarioList(CucumberFeatureResult[][] featureResults) |
private String name
private OverviewStats[] results
public BenchmarkRowData()
public BenchmarkRowData(String nameValue, OverviewStats[] resultsValue)
public String getName()
public OverviewStats[] getResults()
OverviewStats
objects containing statistical information
about each run in benchmark. The size of list should correspond to the number of
runs in a benchmark.public void addFeatureResults(String featureId, CucumberFeatureResult[][] featureResults)
public void addScenarioResults(String scenarioId, CucumberScenarioResult[][] scenarioResults)
public static CucumberScenarioResult[][] toScenarioList(CucumberFeatureResult[][] featureResults)
Copyright © 2013-2017. All Rights Reserved.