18 строки
507 Б
Gherkin
18 строки
507 Б
Gherkin
Feature: run features
|
|
In order to test application behavior
|
|
As a test suite
|
|
I need to be able to run features
|
|
|
|
Scenario: should run a normal feature
|
|
Given a feature "normal.feature" file:
|
|
"""
|
|
Feature: normal feature
|
|
|
|
Scenario: parse a scenario
|
|
Given a feature path "features/load.feature:6"
|
|
When I parse features
|
|
Then I should have 1 scenario registered
|
|
"""
|
|
When I run feature suite
|
|
Then the suite should have passed successfully
|
|
|