Featured
-
No Featured Found!
Tags
Capybara Optional capture Group and Optional noncapture Group
There are many times in our Feature file when there is a situation where we have to test the positive as well as the negative scenario. The steps are almost same with a little change. Let’s suppose the following scenarios:
Scen...
Reusability of Cucumber steps
Many times it has been noticed that some set of steps were required in another cucumber step. One way is to write previous steps again in the required cucumber step but this violates the “Reusability” feature of cucumber. So, the best...
Step Definitions in Cucumber
Cucumber is a command-line tool that reads specifications from plain-language text files but cucumber itself does not have any idea as how to execute the scenario steps. Cucumber needs step definition to convert Gherkin step into some desired act...