This is a past event. Please join us for Web Summer Camp this year.

PHPSpec basics

PHPSpec uses specifications to describe object behaviour as an input language rather than user stories. We always focus on a single object while mocking other dependencies. This is incredibly easy with the Prophecy mocking framework, which is created to fulfill PHPSpec needs. In this workshop we will introduce you to the basics of PHPSpec and show you how to describe your objects the right way.

Slides and code

https://github.com/umpirsky/phpsummercamp-phpspec

http://slides.com/sasastamenkovic/phpspec