Dkdeploy::Cucumber
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.1'
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
- Run
bundle exec rubocop - Run
bundle exec cucumber - Run
bundle exec cucumber --profile negative
Contributing
- Install git flow
- If project is not checked out already do git clone
git@github.com:dkdeploy/dkdeploy-cucumber.git - Checkout origin develop branch (
git checkout --track -b develop origin/develop) - Git flow initialze
git flow init -d - Installing gems
bundle update - Create new feature branch (
git flow feature start my-new-feature) - Run tests (README.md Testing)
- Commit your changes (
git commit -am 'Add some feature')
