Login   Register  
PHP Classes
elePHPant
Icontem

InlineTesting: Test classes and fuctions using docblock comments

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-10-12 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 267 This week: 1All time: 6,858 This week: 1,384Up
Version License PHP version Categories  
inline-testing 0.1.0GNU General Public Lice...5.4PHP 5, Testing
Description Author  

This class can test classes and fuctions using docblock comments.

It can test given classes or functions by parsing docblock sections of the code scripts to be tested to extract the definition of assert conditions for the tests that need to be performed.

The packages comes with special traits definitions that are necessary to use this class with the classes that are meant to be tested.

Innovation Award  
PHP Programming Innovation award nominee
November 2012
Number 5


Prize: One subscription to the PDF edition of the PHP Architect magazine
Test driven development is an approach that can help minimizing the bugs software applications.

However, for many developers writing code for implementing tests is a boring task, so many of them end up not doing it.

This class can help minimizing the effort necessary to write tests for classes.

It lets developers insert some testing conditions in the comments of their classes, so this class can do the actual testing without further effort from the developer.

Manuel Lemos
Picture of AlexanderC
Name: AlexanderC is available for providing paid consulting. Contact AlexanderC .
Classes: 13 packages by
Country: Moldova Moldova
Age: 25
All time rank: 7961 in Moldova Moldova
Week rank: 112 Up1 in Moldova Moldova Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imageTraits (2 files)
Plain text file InlineTesting.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  Traits  
File Role Description
  Plain text file Singleton.php Class Class source
  Plain text file Testable.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%Total:267All time:6,858
 This week:1This week:1,384Up