yachr
Version:
Yet another cucumber html reporter
34 lines (33 loc) • 1.47 kB
TypeScript
import { FeatureSummary } from './featureSummary';
/**
* A high level summary of used for dashboard reporting.
* Represents the total number of passing/failing features
* in the entire Cucumber Test Report
*/
export declare class FeatureSuiteSummary {
passingFeatures: FeatureSummary[];
failingFeatures: FeatureSummary[];
ambiguousFeatures: FeatureSummary[];
pendingFeatures: FeatureSummary[];
undefinedFeatures: FeatureSummary[];
/** The total number of Scenarios that are ambiguously defined for the Feature */
get ambiguous(): number;
/** The total number of features that have failed */
get failed(): number;
/** The total number of features that are not implemented (and thus marked as undefined) */
get undefined(): number;
/** The total number of features that have passed */
get pending(): number;
/** The total number of features that have passed */
get passed(): number;
/** All features in this group */
get total(): number;
/** Whether the Suite or Feature has failed due to a failed Feature or Scenario */
get isFailed(): boolean;
/** Whether the Suite or Feature has passed due to all steps passing */
get isPassed(): boolean;
/** Whether the entire Suite or Feature is undefined */
get isUndefined(): boolean;
/** Updates the aggregated summary using information gathered in the Element Summary */
aggregateFeature(feature: FeatureSummary): void;
}