Socket
Book a DemoInstallSign in
Socket

cukestep

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cukestep

0.1.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

Cukestep

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

Installation

Add this line to your application's Gemfile:

gem 'cukestep'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cukestep

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

  • Fork it ( https://github.com/[my-github-username]/cukestep/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

FAQs

Package last updated on 03 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.