yachr
Version:
Yet another cucumber html reporter
29 lines (28 loc) • 1.33 kB
TypeScript
import { FeatureSummary } from './featureSummary';
import { ScenarioSummary } from './scenarioSummary';
/**
* A high level summary of used for dashboard reporting.
* Represents a summary of all scenarios from multiple features
* in the test suite
*/
export declare class ScenarioSuiteSummary {
passingScenarios: ScenarioSummary[];
failingScenarios: ScenarioSummary[];
ambiguousScenarios: ScenarioSummary[];
pendingScenarios: ScenarioSummary[];
undefinedScenarios: ScenarioSummary[];
/** The total number of Scenarios that are ambiguously defined from all Features */
get ambiguous(): number;
/** The total number of scenarios that have failed from all Features */
get failed(): number;
/** The total number of scenarios that are not implemented from all Features (and thus marked as undefined) */
get undefined(): number;
/** The total number of Scenarios that are not implemented (and thus marked as pending) */
get pending(): number;
/** The total number of scenarios that have passed from all Features */
get passed(): number;
/** All scenarios in this the entire Cucumber Test Suite */
get total(): number;
/** Updates the Scenario Suite Summary using information gathered in the Feature Summary */
aggregateFeature(feature: FeatureSummary): void;
}