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   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-07-28 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 30 All time: 11,124 This week: 40Up
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
Age: 41
All time rank: 2885172 in Germany Germany
Week rank: 227 Up10 in Germany Germany Up
Innovation award
Innovation award
Nominee: 5x

Documentation

PHP TDD BY EXAMPLE


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

  Files folder image Files (6)  /  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 (6)  /  app  /  src  
File Role Description
  Plain text file Money.php Class Class source

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:30
This week:0
All time:11,124
This week:40Up