Skip to content

Test Drive Development with PHP using PHPUnit as the testing tool. Step by step walkthrough of how to implement a TDD for a simple shopping cart.

Notifications You must be signed in to change notification settings

miccheng/TDD-PHP-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Drive Development in PHP - Sample Project

This is written with PHPUnit (http://www.phpunit.de).

Installation:

$ pear config-set auto_discover 1
$ pear install pear.phpunit.de/PHPUnit

$ pear install phpunit/PHPUnit_SkeletonGenerator
$ pear install phpunit/PHPUnit_Selenium
$ pear install phpunit/PHPUnit_Story

Walk Through:

  1. Clone the repository

     $ git clone git://github.com/miccheng/TDD-PHP-Sample.git
    
  2. Checkout steps and look at the code changes

     $ git checkout step1
     $ git checkout step2
     $ git checkout step3
     ...
    

Contact Details:

Singapore PHP User Group
Facebook Group: https://www.facebook.com/groups/sghypertextpreprocessors/

Michael Cheng
Twitter: @coderkungfu
Email: mcheng.work@gmail.com

About

Test Drive Development with PHP using PHPUnit as the testing tool. Step by step walkthrough of how to implement a TDD for a simple shopping cart.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages