phpactor / behat-extension
Behat Support
Installs: 1 828
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 4
Type:phpactor-extension
Requires
- php: ^7.3 || ^8.0
- behat/behat: ^3.5
- behat/gherkin: ^4.5
- dms/phpunit-arraysubset-asserts: ^0.2.1
- phpactor/completion: ^0.4.3
- phpactor/completion-extension: ^0.2.4
- phpactor/container: ^2.0.0
- phpactor/file-path-resolver-extension: ^0.3.4
- phpactor/reference-finder-extension: ^0.1.7
- phpactor/worse-reflection-extension: ^0.2.4
- symfony/yaml: ^4.3 || ^5.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.17
- phpactor/test-utils: ^1.1.3
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: ^0.12.0
- phpunit/phpunit: ^9.0
- rector/rector: 0.8.52
README
Behat integration with Phpactor.
Features:
- Step completion/suggestions in feature files.
- Jump to step definition.
Installation
$ phpactor extension:install phpactor/behat-extension
You will then need to let VIM know that it can use Phpactor in feature
(cucumber
) files:
autocmd FileType cucumber setlocal omnifunc=phpactor#Complete
Usage
This extension expects to find behat.yml
or behat.yml.dist
in your project
root.
To complete a step, open a feature file and invoke omni-complete (after adding the configuration above).
Contributing
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
Support
- Create an issue on the main Phpactor repository.
- Join the
#phpactor
channel on the Slack Symfony Devs channel.