gauge-ts
Version:
Typescript runner for Gauge
29 lines (28 loc) • 661 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecutionContext = void 0;
class ExecutionContext {
_spec;
_scenario;
_step;
_stackTrace;
constructor(spec, scenario, step, stackTrace) {
this._spec = spec;
this._scenario = scenario;
this._step = step;
this._stackTrace = stackTrace;
}
getCurrentSpec() {
return this._spec;
}
getCurrentScenario() {
return this._scenario;
}
getCurrentStep() {
return this._step;
}
getStacktrace() {
return this._stackTrace;
}
}
exports.ExecutionContext = ExecutionContext;