Wednesday, April 25, 2012

Nature, Cucumber, Capybara & etc...

It’s been 2 days (not complete 16 hours) for me >> Started learning Cucumber. Just asked questions to most of them in my company related all the ridiculous statements & words I came through (used in Ruby/Rails/Cucumber). Yes, this is interesting.

Just started Features, Scenarios, Given, When, And, Then. As it was so difficult for me to start the basic level from installations itself, thought of posting a post regarding what are these from my understanding.

Feature - It’s used for some test scenario crowd description.
Scenario - It precedes the test name. It’s similar to Test case name.
Given - The instruction after this keyword is some prerequisite or set of connections.
When – The instruction after this keyword is some action to be made during the test.
Then - Typically precedes the instructions responsible for a range of validations
And - And is used for concatenating purpose.

Will post the basic commands in another post & thanks for the interest invoked in me related to Cucumber.



No comments:

Post a Comment