Cukeregator

Provides a summary view of multiple cucumber html output files.

Examples

  • With the gem installed, from within your project directory:

      $ cukeregator tmp/cucumber*.html > parallel_run_summary.html

This command will aggregate the results of however many output files are matched by the shell glob, and write those results to a document with the same kind of summary as the normal cuke output. It also lists the summary for each individual results file, and links back to it whenever you want the detail.

  • A demo from within your local clone of this git repo:

      $ ./bin/cukeregator fixtures/*.html > cukeregated.html

Summarizes my test files, which are filtered samples from the 0.9.4 Cucumber project’s feature suite.

Tests


  $ rake

Installation


  $ gem install cukeregator

Dependencies

Nokogiri is used to parse the cucumber files, as well as to build the summary file.

TODO’s

  • styling
  • handle ‘undefined’ status explicitly

We’ll See

  • dump Nokogiri for Haml? (Would have to hand parse in the reader without Nokogiri.)
  • enable STDIN as source of file list input in the bin?
  • Rake task as cmd line convenience?
  • path list option for cases when a glob won’t work?