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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 1,343 All time: 2,882 This week: 555Up
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: 36
All time rank: 11527 in Bulgaria Bulgaria
Week rank: 416 Up2 in Bulgaria Bulgaria Up
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,343
This week:0
All time:2,882
This week:555Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:801