PHP Classes

GUnit: Automate class feature testing

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-11-23 (12 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,329 All time: 2,874 This week: 362Up
Version License Categories
gunit 1.0BSD LicenseTesting
Description Author

This class can be used to automate tests of class features and show execution time of each test.

To test a class it must extend this unit test class. It calls each of class methods and checks whether they return the expected results.

The test results are presented in an HTML table. For the tests that failed, the class also presents the output of the respective function.

Innovation Award
PHP Programming Innovation award winner
September 2006

Prize: One subscription to the PDF edition of the magazine by PHP Architect
Testing is an important step in software development that is needed to verify whether a program works as expected.

However, generating test scripts by hand is often a tedious task that many developers do not like to do.

This class helps simplifying the development of test scripts and process the results.

Manuel Lemos
Name: Georgi Momchilov <contact>
Classes: 2 packages by
Country: Bulgaria Bulgaria
Age: 32
All time rank: 11367 in Bulgaria Bulgaria
Week rank: 294 Up1 in Bulgaria Bulgaria Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


  • screenshot.JPG
  Files folder image Files  
File Role Description
HTML file doc.html Doc. Documentation
Accessible without login Plain text file example.php Example example
Plain text file gunit.class.php Class class file
Plain text file validator.class.php Class Example class which is used in the example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,874
This week:362Up
 User Ratings  
 All time