Project

cukestep

0.0
No commit activity in last 3 years
No release in over 3 years
Cukestep exposes your system's Gherkin steps through a Rails Engine. It comes coupled with a javascript scriptlet that decorates any input field with autocomplete (the gherkin steps) functionality.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0

Runtime

 Project Readme

Cukestep

Cukestep exposes your system's Gherkin steps to the outside world through a Rails Engine.

Installation

You know how...

Usage

Mount the engine

# routes.rb
mount Cukestep::Engine => "/cukestep", as: "cukestep"

Start your Rails application and navigate to

/cukestep/steps

At this point - you should be seeing a JSON output of your Gherkin steps.

Configuration

Rails

To exclude a support file from the autoload path, create an initializer class and tell Cukestep which files to exclude.

# #{Rails.root}/config/initializers/cukestep_config.rb
Cukestep.configure do |c|
  c.excluded_code_file_paths = ['features/support/extranet.rb']
end

Browser

Modify Cukestep.url = within example/assets/bookmarklet.js and change the URL to point to your local development environment. For production, modify the URL to point to your production server.

Note: Pivotal Tracker and Trello run on SSL. In order to test locally, run Charles Proxy, map https->http, configure SSL proxying and visit the endpoint URL in the browser to accept the SSL certification restriction.

Pivotal Tracker and Trello

Inject example/assets/bookmarklet.js in your browser as a bookmarklet to decorate the Pivotal Tracker story/Trello description field.

Examples - Pivotal Tracker and Trello

Pivotal Tracker Cukestep Example

Trello Cukestep Example

Shoutouts

Cukestep makes heavy use of At.js.

Contributing

You know how...