Cucumber is a tool that executes plain-text functional descriptions
as automated tests. It does a pretty good job of executing automated tests and
spitting out reports in various formats, including HTML,PDF, JUnit (for
integration with continuous build tools) and colour text on the screen.
Cucumber files are plain-text
which makes it possible to edit & can be easily understood by the person
who is new.
The language that Cucumber understands is called Gherkin.
Gherkin is the language for describing Cucumber feature files. It is also the
name of a separate piece of software that interprets that language.
Gherkin, the language, defines the structure of a
feature file and the keywords that can be used to describe features.
Below are the steps to install
cucumber on the system -
- Go to http://railsinstaller.org/, download and install Kit on C:\railsinstaller after installation go to command prompt and type 'ruby -v'. It will show the ruby help.
- Then run 'gem update --system' command on command prompt.
- Now install gems by executing the command as follows:
C:\Sites>gem install <gem name>
The gems required to be installed
while running the cucumber are as follows:
gem
'cucumber'
gem ‘rspec’
gem ‘watir’
gem
‘activerecord’
gem
‘factory_girl’
gem
‘database_cleaner’
gem
‘win32-clipboard’
gem ‘ruby-odbc’
gem
'activerecord-sqlserver-adapter'
gem 'faker'
gem 'chronic'
0 comments:
Post a Comment