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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 69%Total: 1,334 All time: 2,876 This week: 267Up
Version License Categories
gunit 1.0.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: 33
All time rank: 11417 in Bulgaria Bulgaria
Week rank: Not yet ranked
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,334
This week:0
All time:2,876
This week:267Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:453
  

For more information send a message to info at phpclasses dot org.