Drupal7 Behat UI Module to Test Your Site

I am currently doing a release of 2 major feature updates to a site. For me even with all my Drupal and web development skills releases are difficult, and far from stress free.

In examining new community modules I found the Behat UI module. Behat UI provides a UI similar to the Rules UI module to create Behat scenarios to test business logic expectations. The Behat UI looks like this when you install the module onto your site:

Behat UI, create simple scenarios to test for conditions on the webapge. The whole scenario may then be downloaded to a file.

Behat UI, create simple scenarios to test for conditions on the webapge. The whole scenario may then be downloaded to a file.


This looks awesome! It requires Behat on your development system (I would likely not run this on a Production system), and optionally Selenium if you want a real browser to test your website. For the administration of this module you simply provide the path(s) to the testing tools on the system:

Specify the paths to Behat executable and configuration file in the Drupal administration area.

Specify the paths to Behat executable and configuration file in the Drupal administration area.

Had I found this module about 2 weeks ago I believe I would have tried to add behavior tests for the new functionality I’m adding to the website. So I would have more confidence during the deployment process.

note: From the example video tutorial on the project page it appears like these tests take a small while to run. But this is ok with me as the tests are write-once, repeat on any server and they can be saved to a file in version control.

I will likely add this module to my set of Development modules used when making a website. Other modules in this list include: Devel, Maillog and Theme Developer.

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , | Posted under Drupal | RSS 2.0

Author Spotlight

David Gurba

David Gurba

I am a web programmer currently employed at UCSB. I have been developing web applications professionally for 8+ years now. For the last 5 years I’ve been actively developing websites primarily in PHP using Drupal. I have experience using LAMP and developing data driven websites for clients in aviation, higher education and e-commerce. If you’d like to contact me I can be reached at david.gurba@arvixe.com

Leave a Reply

Your email address will not be published. Required fields are marked *


3 + = 10

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>