whizark/php-patterns — pull request #1 by Trismegiste (2013-06-09 12:00:21+00:00)
Title: Testing pattern with PHPUnit

Yo !

At last, a repository with well-coded design patterns "by the book" :+1:

Good job :sake:

But I've an idea :

What about using PHPUnit to test the patterns and show how it works, instead of creating a file like "Client.php" with a not-really-beautiful "require ../../../....." :question:

Here is a sample with the Factory Method Design Pattern.

I've added the tree structure, the bootstrap, the config and a simple ClientTest

I've also added the travisCI config but not the status image in the README

Anyway, I sincerely hope this will help you.