dkdeploy-cucumber defines Cucumber steps for browser tests.
Tests are run with
capybara and PhantomJS.
Add this line to your application's Gemfile:
gem 'dkdeploy-cucumber', '~> 4.1'
And then execute:
Or install it yourself as:
$ gem install dkdeploy-cucumber
You can see usage examples in the
rvm to test against multiple Ruby versions.
bundle exec rubocop
bundle exec cucumber
bundle exec cucumber --profile negative
- Checking coding styles (
- Running Cucumber tests (
- Install git flow
- If project is not checked out already do git clone
- Checkout origin develop branch (
git checkout --track -b develop origin/develop)
- Git flow initialze
git flow init -d
- Installing gems
- 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')