Property | Type | Description | |
---|---|---|---|
$filterPaths |
Method | Description | |
---|---|---|
__construct ( array $paths ) | Initializes filter. | |
isFeatureMatch ( Behat\Gherkin\Node\FeatureNode $feature ) : boolean | Checks if Feature matches specified filter. | |
isScenarioMatch ( Behat\Gherkin\Node\ScenarioInterface $scenario ) : false | Checks if scenario or outline matches specified filter. |
public __construct ( array $paths ) | ||
$paths | array | List of approved paths |
public isFeatureMatch ( Behat\Gherkin\Node\FeatureNode $feature ) : boolean | ||
$feature | Behat\Gherkin\Node\FeatureNode | Feature instance |
return | boolean |
public isScenarioMatch ( Behat\Gherkin\Node\ScenarioInterface $scenario ) : false | ||
$scenario | Behat\Gherkin\Node\ScenarioInterface | Scenario or Outline node instance |
return | false | This filter is designed to work only with features |