Download the PHP package johnbillion/wordpress-behat-extension without Composer
On this page you can find all versions of the php package johnbillion/wordpress-behat-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download johnbillion/wordpress-behat-extension
More information about johnbillion/wordpress-behat-extension
Files in johnbillion/wordpress-behat-extension
Package wordpress-behat-extension
Short Description WordPress extension for Behat 3
License MIT
Informations about the package wordpress-behat-extension
WordPress Extension for Behat 3
This is a Behat 3.0 Extension for WordPress plugin and theme development. You can use it to test your WordPress installation, or just test your plugin/theme without installing them in a normal WordPress installation (i.e. stand-alone). The Extension allows you to use WordPress functions in your context class (if you extend it from Johnbillion\WordPressExtension\Context\WordPressContext).
Installation
-
Add a composer development requirement for your WordPress theme or plugin:
-
Add the following Behat configuration file:
-
Install the vendors and initialize behat test suites
-
Start your development web server and point its document root to the wordpress directory in vendors (without mail function)
-
Write some Behat features and test them
- Run the tests
All versions of wordpress-behat-extension with dependencies
behat/mink-extension Version ~2.0@dev
symfony/filesystem Version ~2.3
symfony/finder Version ~2.3