Login   Register  
PHP Classes
elePHPant
Icontem

PHP Template Based Testing Framework: Test the output of application site scripts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-04 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 100 All time: 7,572 This week: 1,410Up
Version License PHP version Categories  
templated-testing 1MIT/X Consortium License5.0PHP 5, Testing
Description Author  

This class can test the output of application site scripts.

It can read the parameters of tests from files that define the name of each text, the URL of the application to test and request parameters to send to the tested application scripts, and a regular expression of the expected output.

The class can send a HTTP request to the server of the application to test with the specified parameters.

Then it checks of the returned response matches the specified test regular expression.

The class logs the success or failure of each test to a given log file.

Picture of Richard Carson
Name: Richard Carson <contact>
Classes: 3 packages by
Country: Canada Canada
Age: 22
All time rank: 216152 in Canada Canada
Week rank: 574 Up18 in Canada Canada Up

  Files folder image Files  
File Role Description
Files folder imagetests (1 file)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README Doc. Documentation
Plain text file testbed.class.php Class Class source
Plain text file testbed.interface.php Class Class source
Accessible without login Plain text file testing.php Example Example script

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file simple_example.tpl Data Example template

 Version Control Unique User Downloads Download Rankings  
 100%Total:100All time:7,572
 This week:0This week:1,410Up