Skip to content

Patch existing cucumber html output with navigation for features

License

Notifications You must be signed in to change notification settings

wynst/cucumber-relizy

Repository files navigation

Cucumber::Relizy

This app will enhance your Cucumber html output with features navigation. Improve usability on browsing features for any stakeholders.

Before:

cucumber

After: cucumber-html

Installation

$ gem install cucumber-relizy

Usage

  1. command-line
    cucumber-relizy FILENAME
    will create FILENAME.relizy.html

  2. thor task

    • add this to your Thorfile in a Rails app
class App < Thor
  desc "features", "run cucumber and browse features"
  def features
    system "rm tmp/features.html"
    system "rm tmp/features.relizy.html"
    system "bundle exec cucumber --drb features/ --format=html -o tmp/features.html"
    system "cucumber-relizy tmp/features.html"
    system "open tmp/features.relizy.html"
  end
end
  • run thor app:features to run cucumber, and browse the features.

Similar library

About

Patch existing cucumber html output with navigation for features

Resources

License

Stars

Watchers

Forks

Packages

No packages published