SimpleTest
Automated testing within Drupal should be done with SimpleTest, and this module has been designed to make testing of Drupal easier for all. Its features are powerful, and create a Drupal-specific testing API which is modeled after the SimpleTest PHP library. It should be noted that as of the 6.x-2.x release of this module, and Drupal 7 core, the afore mentioned third-party library is no longer a dependency.
Which version should I use?
If you are just starting to write tests for Drupal 6, you should use the 2.x branch of this module. If you have written tests previously please read the documentation, as some things have changed between versions 1.x and 2.x.
Looking forward
SimpleTest 7.x development has been moved to a new location in core! Any issues related to Drupal HEAD should be filed in the core issue queue, any issues related to tests for 7.x should be filed in their parent module's component.
Requirements
The php-curl library is required for SimpleTest to function.
Further reading
- For help getting started please read the documentation.
- For introduction to the 6.x-2.x and 7.x style testing (the future) please read HOWTO: Write your own test - Drupal 6/7.
- The Testing and Quality Assurance group.
- Doxygen documentation of SimpleTest
Additional development / backport, sponsored by ParentsClick / Lifetime Digital.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.8 | 2009-Apr-23 | 150.56 KB | Download · Release notes | Recommended for 6.x | |
| 6.x-1.2 | 2008-Aug-06 | 132.32 KB | Download · Release notes | Supported for 6.x | |
| 5.x-1.2 | 2008-Sep-01 | 103.01 KB | Download · Release notes | Recommended for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.x-dev | 2009-May-28 | 150.72 KB | Download · Release notes | Development snapshot | |
| 6.x-1.x-dev | 2008-Aug-08 | 124.27 KB | Download · Release notes | Development snapshot | |
| 5.x-1.x-dev | 2009-May-29 | 103.07 KB | Download · Release notes | Development snapshot | |
