1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Feature: Pretty output formatter
Background:
Given a file named "features/scenario_outline_with_undefined_steps.feature" with:
"""
Feature:
Scenario Outline:
Given an undefined step
Examples:
|foo|
|bar|
"""
Scenario: an scenario outline, one undefined step, one random example, expand flag on
When I run `cucumber features/scenario_outline_with_undefined_steps.feature --format pretty --expand `
Then it should pass
Scenario: when using a profile the output should include 'Using the default profile...'
And a file named "cucumber.yml" with:
"""
default: -r features
"""
When I run `cucumber --profile default --format pretty`
Then it should pass
And the output should contain:
"""
Using the default profile...
"""
|