Ideal for generating living documentation in 'business-friendly' (nb read 'people who can't use git and like pretty colours') format.
This is made up of two parts:
translate.rb
- a small ruby script that parses your /features/
folder, and for each .feature file it finds generates a corresponding markdown (.md
) file in /_cukes/
.md
files in the _cukes
folder.translate.rb
script# Install dependencies (there may be more - install using gem or bundler)
gem install gherkin
ruby translate.rb
# This will listen for changes to the project
bundle exec jekyll serve
This will be hosted at http://localhost:4000 by default