Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 1.41 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.41 KB

GherkinDoc with Step Detection

A processor that transforms Cucumber (Gherkin) feature files into static HTML documentation site. Indicates which steps have an implementation and links them to their github or bitbucket repository. Additionally creates two new tags: 'Implemented' and 'Not Implemented' to list the steps that are complete.

This project is a fork from the GherkinDoc project, started by @alexandrosd. It contains additional code developed by @alexkrechik on the VSCucumberAutoComplete project.

Usage:

var gherkindoc = require('gherkindoc');
gherkindoc.generate(featuresDirectory, outputDirectory [, options]);

This version doesn't copy the entire featuresDirectory over to outputDirectory. Instead, creates only .html files in the outputDirectory.

The following options are available (defaults are shown):

{
    theme: 'cosmo', // The [bootswatch](http://bootswatch.com/) theme to use
    renderScenaria: true // whether to render scenario bodies or only feature descriptions,
    steps: [] // A list of paths where the steps are stored
}

If the parameter steps is not given, then all the steps and features will be marked as not implemented.

Original Author: Alexandros Dallas [email protected]

Fork Author: Josep Mateu Clemente [email protected]