Method |
Description |
|
__construct ( string $name = null, string $path = null, array $properties = [] ) |
Creates a new Behat Launcher project, to execute runs on it. |
|
addFormat ( string $format ) : Project |
|
|
addProperty ( ProjectProperty $property ) : Project |
Adds a property to the project. |
|
createProperty ( $name ) |
|
|
createRun ( ) : Run |
Creates a run for the project. |
|
getBehatBin ( ) : string |
Returns path to behat binary |
|
getConfig ( array $values = [] ) : array |
Merges values with actual project configuration (from behat.yml). |
|
getFeatures ( ) : FeatureDirectory |
|
|
getFeaturesPath ( ) : string |
Change directory containing .features files. |
|
getFormats ( ) : array |
|
|
getName ( ) : string |
Returns project's name. |
|
getPath ( ) : string |
Returns project path. |
|
getProperties ( ) : array |
Returns project's properties. |
|
getRunnerCount ( ) : integer |
Returns number of parallel processes a project can have. |
|
normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] ) |
|
|
setBehatBin ( string $behatBin ) : Project |
Changes path to behat binary. |
|
setFeaturesPath ( string $featuresPath ) |
Returns directory containing .features files. |
|
setFormats ( array $formats ) : Project |
|
|
setName ( string $name ) : Project |
Changes project name. |
|
setPath ( string $path ) : Project |
Changes project's path. |
|
setProperties ( array $properties ) : Project |
Changes all project's properties. |
|
setRunnerCount ( integer $runnerCount ) : Project |
Changes number of parallel processes a project can have. |
|