13 строки
437 Б
Gherkin
13 строки
437 Б
Gherkin
Feature: suite hooks
|
|
In order to run tasks before and after important events
|
|
As a test suite
|
|
I need to provide a way to hook into these events
|
|
|
|
Background:
|
|
Given I have a before scenario hook
|
|
And a feature path "features/load_features.feature:6"
|
|
And I parse features
|
|
|
|
Scenario: triggers before scenario hook
|
|
When I run features
|
|
Then I should have a scenario "load features within path" recorded in the hook
|