Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / doc / intro.rst
1 Testing your site with the Drupal Extension to Behat and Mink
2 ==============================================================
3
4 .. container:: clear
5
6   .. image:: _static/beehat.png
7      :align: left
8      :height: 125px
9
10 The `Drupal Extension to Behat and Mink
11 <https://drupal.org/project/drupalextension>`_ provides Drupal-specific
12 functionality for the `Behavior-Driven Development
13 <http://dannorth.net/introducing-bdd/>`_ testing frameworks of `Behat and Mink
14 <http://extensions.behat.org/mink/>`_.
15
16 What do Behat and Mink Do?
17 --------------------------
18
19 Behat and Mink allow you to describe the behavior of a web site in plain, but
20 stylized language, and then turn that description into an automated test that
21 will visit the site and perform each step you describe. Such functional tests
22 can help site builders ensure that the added value they've created when
23 building a Drupal site continues to behave as expected after any sort of site
24 change -- security updates, new module versions, changes to custom code, etc.
25
26 What does the Drupal Extension add?
27 -----------------------------------
28
29 The Drupal Extension to Behat and Mink assists in the performance of these
30 common Drupal testing tasks:
31
32 *  Set up test data with Drush or the Drupal API 
33 *  Define theme regions and test data appears within them 
34 *  Clear the cache, log out, and other useful steps
35 *  Detect and discover steps provided by contributed modules and themes