PHP Class Behat\Behat\Gherkin\Specification\LazyFeatureIterator

Author: Konstantin Kudryashov ([email protected])
Inheritance: implements Behat\Testwork\Specification\SpecificationIterator
Mostra file Open project: behat/behat

Public Methods

Method Description
__construct ( Behat\Testwork\Suite\Suite $suite, Gherkin $gherkin, array $paths, array $filters = [] ) Initializes specifications.
current ( )
getSuite ( )
key ( )
next ( )
rewind ( )
valid ( )

Private Methods

Method Description
createFilter ( string $type, string $filterString, Behat\Testwork\Suite\Suite $suite ) : Behat\Gherkin\Filter\FilterInterface Creates filter of provided type.
getSuiteFilters ( Behat\Testwork\Suite\Suite $suite ) : Behat\Gherkin\Filter\FilterInterface[] Returns list of filters from suite settings.
moveToNextAvailableFeature ( ) Parses paths consequently.
parseFeature ( string $path ) : Behat\Gherkin\Node\FeatureNode[] Parses feature at path.

Method Details

__construct() public method

Initializes specifications.
public __construct ( Behat\Testwork\Suite\Suite $suite, Gherkin $gherkin, array $paths, array $filters = [] )
$suite Behat\Testwork\Suite\Suite
$gherkin Behat\Gherkin\Gherkin
$paths array
$filters array

current() public method

public current ( )

getSuite() public method

public getSuite ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )