Behat integration with Phpactor.
Features:
- Step completion/suggestions in feature files.
- Jump to step definition.
$ 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
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).
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
- Create an issue on the main Phpactor repository.
- Join the
#phpactor
channel on the Slack Symfony Devs channel.