Every product feature will have a dedicated feature file. The feature file is a text file with the .feature extension. A feature file can contain any number of scenarios, and each scenario is equivalent to a test case.
Let's take a look at a simple feature file example:
1 # language: en23 Feature: The Facebook application should authenticate user login.45 Scenario: Successful Login6 Given I navigate to Facebook login page https://www.facebook.com7 And I type firstname.lastname@example.org as Email8 And I type mysecretpassword as Password9 When I click the Login button10 Then I expect Facebook Home Page after Successful Login
Cool, it appears like plain English, right? But trust me, this is how Cucumber test cases are written! I understand ...