This Rubygem 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:
$ bundle
Or install it yourself as:
$ gem install dkdeploy-cucumber
You can see usage examples in the features
directory.
rvm
to test against multiple Ruby versions.
- Run
bundle exec rubocop
- Run
bundle exec cucumber
- Run
bundle exec cucumber --profile negative
- Install git flow
- If project is not checked out already do git clone
[email protected]: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'
)