Login   Register  
PHP Classes
elePHPant
Icontem

GUnit: Automate class feature testing

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (8 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,264 All time: 2,822 This week: 789Up
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
Winner


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
Picture of Georgi Momchilov
Name: Georgi Momchilov <contact>
Classes: 2 packages by
Country: Bulgaria Bulgaria
Age: 27
All time rank: 10757 in Bulgaria Bulgaria
Week rank: 1580 Down11 in Bulgaria Bulgaria Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Screenshots  
  • 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  
 0%Total:1,264All time:2,822
 This week:0This week:789Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:237