Skip to content

websi/dkdeploy-cucumber

 
 

Repository files navigation

dkdeploy

Dkdeploy::Cucumber

Build Status Gem Version Inline docs

Description

This Rubygem dkdeploy-cucumber defines Cucumber steps for browser tests. Tests are run with capybara and PhantomJS.

Installation

Add this line to your application's Gemfile:

gem 'dkdeploy-cucumber', '~> 4.0'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dkdeploy-cucumber

Usage

You can see usage examples in the features directory.

Testing

Prerequisite

rvm to test against multiple Ruby versions.

Running tests

  1. Run bundle exec rubocop
  2. Run bundle exec cucumber
  3. Run bundle exec cucumber --profile negative

Running tests

  1. Checking coding styles (rubocop)
  2. Running Cucumber tests (cucumber)

Contributing

  1. Install git flow
  2. If project is not checked out already do git clone git@github.com:dkdeploy/dkdeploy-cucumber.git
  3. Checkout origin develop branch (git checkout --track -b develop origin/develop)
  4. Git flow initialze git flow init -d
  5. Installing gems bundle update
  6. Create new feature branch (git flow feature start my-new-feature)
  7. Run tests (README.md Testing)
  8. Commit your changes (git commit -am 'Add some feature')

About

dkdeploy Cucumber step definitions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 59.7%
  • Gherkin 31.3%
  • HTML 9.0%