BehatRunner
Categories
Component ID
2253971
Component name
BehatRunner
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
2366
Component created
Component changed
Component body
This module
- Provides a common way for modules to register themselves as having Behat tests
- Provides a test discovery mechanism to find out what features/scenarios are available
- Provides a test-runner to execute Behat tests via drush or admin UI
Look at the attached diagram for a high-level overview of how this module will be implemented.
IMPORTANT
This module can not be enabled via the UI. You MUST use drush to enable it. The steps are:
- Ensure you have $base_url set in your settings.php file
drush en -y behatrunnerdrush brun(this actually runs the behat tests)
Screencast Tutorial
This Behat Runner tutorial will walk you through:
- Enabling the module
- Running behat tests
- Implementing custom behat tests
- Running javascript tests in Selenium2
Drupal 8
Work on a Drupal 8 version of this module is being worked on here:
https://www.drupal.org/node/2232271
Goals for D8 integration:
- Fix testbot failures indicated here. These primarily relate to views integration.
- Move test locations, as suggested here
