PHP Classes

Learn how to develop a PHP Project with Quality using a PHP Test-Driven Development Example Package TDD By Example: Develop classes using test driven design

Recommend this page to a friend!
  Info   View files Documentation   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-07-28 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 18 This week: 18All time: 11,285 This week: 5Up
Version License PHP version Categories
tdd-by-example 1.0.0MIT/X Consortium ...7.1Language, Design Patterns, Testing, P...
Description 

Author

This package shows how to develop classes using test-driven design.

It provides a money test class that extends the PHPUnit TestCase class to test the features of a money class.

The package also provides the money class that implements the designed features and passes the tests implemented by the test class.

Picture of Ogbemudia Osayawe
  Performance   Level  
Name: Ogbemudia Osayawe <contact>
Classes: 9 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 5x

Documentation

PHP TDD BY EXAMPLE


  Files folder image Files  
File Role Description
Files folder imageapp (3 files, 2 directories)
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  app  
File Role Description
Files folder imagesrc (1 file)
Files folder imagetests (1 file)
  Accessible without login Plain text file composer.json Data Auxiliary data
  Accessible without login Plain text file composer.lock Data Auxiliary data
  Accessible without login Plain text file index.php Aux. Configuration script

  Files folder image Files  /  app  /  src  
File Role Description
  Plain text file Money.php Class Class source

  Files folder image Files  /  app  /  tests  
File Role Description
  Plain text file MoneyTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:18
This week:18
All time:11,285
This week:5Up