This TextMate bundle adds language support for the Cucumber story format. A few basic commands which allow interacting with feature files, and helpful tab completion.
Simply download the latest Behat.tmbundle, and extract tar.gz
archive into TextMates
application support directory.
mkdir -p ~/Library/Application\ Support/Avian/Bundles
cd ~/Library/Application\ Support/Avian/Bundles
tar -zxf ~/Downloads/Behat.tmbundle.tar.gz
Simply clone repository into TextMate's bundle directory.
mkdir -p ~/Library/Application\ Support/Avian/Bundles
cd ~/Library/Application\ Support/Avian/Bundles
git clone git://github.com/emcconville/Behat.tmbundle
⌘R — Run current feature file
⌥⌘R — Run current scenario in current feature file
⌃H — Display defined language in feature context
⌃M — Print undefined language missing from feature context
⌃⇧V — Quick feature validation
⌃⇧H — Reformat & clean ("tidy") current document format
⌥⎋ — Suggested variables defined under "Example:" section
Fe⇥ — becomes Feature:
Sc⇥ — becomes Scenario:
Sc⇥⇥ — becomes Scenario Outline:
Ex⇥ — becomes Examples:
- TextMate friendly documentation
- Rewrite all commands in native PHP
- Basic composer.phar install command
- Support for running tagged featured
- Build all feature
- 1.0 August 2013
- Cucumber language syntax
- Run single feature, or scenario
- Tab & Escape Completion
- Variable suggestion
- Validated & Tidy commands (available only in composer.phar install)