timitao / behat-symfony-container
Allows to declare own services inside Behat loaded by symfony service manager
Installs: 1 513
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.6
- behat/behat: ~3.4
- psr/container: ^1.0
Requires (Dev)
- phpunit/phpunit: 4.3.*
- symfony/process: ~2.1
Suggests
This package is auto-updated.
Last update: 2024-11-05 19:22:13 UTC
README
Behat Symfony Extension
This extension provide isolated symfony container from Behat.
This extension borrow a lot from extension, but:
- don't force minimal PHP version to 7.1,
- have isolated container.
Configuration
-
Install it:
$ composer require timitao/behat-symfony-container --dev
-
To enable this extension and load container:
# behat.yml default: suites: default: services: "@timitao_behat_symfony_container.container" extensions: TimiTao\BehatSymfonyContainer\ServiceContainer\Extension: configs: - "PATH_TO_FILE" - "PATH_TO_FILE" - "PATH_TO_FILE"
-
Write services files definitions, that are generally accepted by Symfony with format
yml
,xml
orPHP
. Check out examples
Versioning
Staring version 1.0.0
, will follow Semantic Versioning v2.0.0.
Contributors
- Tomasz Kunicki TimiTao [lead developer]