godog/features/load_features.feature
2015-06-17 13:54:31 +03:00

25 строки
814 Б
Gherkin

Feature: load features
In order to run features
As a test suite
I need to be able to load features
Scenario: load features within path
Given a feature path "features"
When I parse features
Then I should have 2 feature files
Scenario: load a specific feature file
Given a feature path "features/load_features.feature"
When I parse features
Then I should have 1 feature file
Scenario: load a feature file with a specified scenario
Given a feature path "features/load_features.feature:6"
When I parse features
Then I should have 1 scenario registered
Scenario: load a number of feature files
Given a feature path "features/load_features.feature"
And a feature path "features/hooks.feature"
When I parse features
Then I should have 2 feature files