UNPKG

cucumon

Version:

Cucumber Gherkin Feature file parser with custom additional features

16 lines (14 loc) 445 B
const Section = require('./Section'); class ScenarioOutline extends Section { constructor(id, keyword, statement, instruction, lineNumber){ super(keyword, statement, lineNumber) this.id = id; this.expanded = []; this.tags = []; //owned tags and feature tags this.examples = []; if(instruction){ this.instruction = instruction; } } } module.exports = ScenarioOutline;