Introduction to Test Driven Development (PHP)

This workshop introduces the concepts of Test Driven Development then backs them up with group and individual practical sessions.

The workshop will cover:

  • What is TDD
  • Why should you use TDD,
  • How to use TDD
  • The Testing Pyramid
  • Test Doubles

Practicals will start with implementing simple Abstract Data Types and work up to a small complex systems requiring test doubles.

The workshop will use PHPUnit and Mockery but concepts can easily be transferred to other testing and mocking frameworks (Codeception, PHPSpec, Phake or Prophercy).