Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Test your code like a pro – PHPUnit in practice - tutorial at PHPNW12

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md

README.md

Test your code like a pro – PHPUnit in practice

Usage guide

Step by step guide

To follow the tutorial step by step just clone the repository from the master branch (which is empty) and then start merging in each exercise, ie:

$ git clone git://github.com/proofek/phpnw12-tutorial.git
$ cd phpnw12-tutorial.git
$ git pull origin exercise-1
$ git pull origin exercise-2
$ git pull origin exercise-3

See the commit messages that provide a walkthough guide for every step.

Checking out specific exercise

To quickly jump to a specific scenario, clone the repository from the master branch (which is empty) and then create a local branch for the specific exercise:

$ git clone git://github.com/proofek/phpnw12-tutorial.git
$ cd phpnw12-tutorial.git
$ git checkout -b exercise-1 origin/exercise-1
$ git checkout -b exercise-2 origin/exercise-2
$ git checkout -b exercise-3 origin/exercise-3

Explore on github

You can easily follow every step by just looking at the commit history on github by simply switching between branches from github's UI

Something went wrong with that request. Please try again.