UNPKG

cucumon

Version:

Cucumber Gherkin Feature file parser with custom additional features

15 lines (13 loc) 400 B
const Section = require('./Section'); class Scenario extends Section { constructor(id, keyword, statement, instruction, lineNumber){ super(keyword, statement, lineNumber) this.id = id; this.steps = []; this.tags = []; //owned tags and feature tags if(instruction){ this.instruction = instruction; } } } module.exports = Scenario;