/[drupal]/contributions/modules/phpunit/lib/DrupalTest/Bootstrap.php
ViewVC logotype

Diff of /contributions/modules/phpunit/lib/DrupalTest/Bootstrap.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Tue Feb 24 08:09:40 2009 UTC revision 1.2.2.1, Mon Jun 1 07:06:30 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id$
3  /**  /**
4  * DrupalTest bootstrapping class  * @file
5  *  * Provide bootstrap functionality for Drupal Tests.
 * This class provides all the functionality for bootstrapping Drupal  
 * and also ensuring the test environment is set up before each test  
 * and torn down after.  
6  *  *
7  * @package DrupalTest  * @package DrupalTest
8  * @author  Jonathan H. Wage <jonwage@gmail.com>  * @author  Jonathan H. Wage <jonwage@gmail.com>
9  * @author  Christopher Hopper <christopher.jf.hopper@gmail.com>  * @author Christopher Hopper <christopher.jf.hopper@gmail.com>
10    */
11    
12    /**
13    * DrupalTest bootstrapping class
14    *
15    * This class provides all the functionality for bootstrapping Drupal.
16    * It also attempts to provide test isolation, in that the environment
17    * for each test should be roughly equivalent each time. Namely, the
18    * database needs to be provided in the same state for each test. This
19    * is the testing principle known as isolation.
20    *
21    * @link http://www.phpunit.de/manual/3.3/en/phpunit-book.pdf
22    *   PHPUnit Manual Chapter 2. PHPUnit's Goals: Isolated, Isolated
23    *   versus quick to execute.
24  */  */
25  class DrupalTest_Bootstrap  class DrupalTest_Bootstrap
26  {  {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

  ViewVC Help
Powered by ViewVC 1.1.2