Cucumber Features

Expand All

Collapse All

@a_few @feature:qux

Feature: Registering user credentials

As a video rental employee
I want to enter my credentials
So I can identify myself when use the rental application

features/a_few_tests.feature:8

Scenario: Start without credentials

  1. Given there is no registered user
    features/step_definitions/steps.rb:46
  2. When I enter the credentials "it's me"
    features/step_definitions/steps.rb:50
  3. Then I should not be authorized
    features/step_definitions/steps.rb:54
  4. Invalid user credential
features/a_few_tests.feature:14

Scenario Outline: Registering some credentials

  1. When I register my credentials "<credentials>"
    features/a_few_tests.feature:15
  2. When I enter the credentials "<credentials>"
    features/a_few_tests.feature:16
  3. Then I should see a welcome message
    features/a_few_tests.feature:17

Examples

credentials
it's me
Welcome to the rental application.
himself
Welcome to the rental application.
nemo
Welcome to the rental application.