PHPUnit for Advanced Users

The question is not whether you want to test automatically, but how much. The alternative is to test manually or not test at all. In this training you will learn how to use the testing tool PHPUnit in your projects correctly.

We rely on interactive live coding and discussion with the participants instead of frontal teaching with presentation slides. The transfer of knowledge alternates with demonstrations and practice using practical examples.

Learning Objectives

  • You create automated tests for your application
  • You can evaluate the advantages and disadvantages of using certain PHPUnit features
  • You identify missing and risky tests

Target Audience

Software developers who want to test business applications automatically.


First practical experience with PHPUnit or another xUnit test framework.

Here you can acquire the necessary previous knowledge: Test Automation with PHPUnit


09:00am–09:15am Welcoming, introducing and collecting expectations
09:15am–09:45am Introduction: Between Legacy and Modernity
09:45am–10:30am Exotic and threatened features in PHPUnit
10:30am–10:45am Break
10:45am–11:15am Live Coding: PHPUnit in practical use
11:15am–12:30pm Exercise: Testing existing code
12:30pm–01:30pm Lunch Break
01:30pm–02:00pm Review of the exercise
02:00pm–03:00pm Decouple test code from test data
03:00pm–03:15pm Break
03:15pm–04:30pm Exercise: Equivalence classes
04:30pm–05:00pm Review of the exercise
09:00am–09:30am Recap of previous day and questions
09:30am–10:15am Testing object interaction
10:15am–10:30am Break
10:30am–11:00am Live Coding: Stubs and Mocks
11:00am–12:00pm Exercise: Teamwork for objects
12:00pm–12:30pm Review of the exercise
12:30pm–01:30pm Lunch Break
01:30pm–02:15pm Code Coverage and risky tests
02:15pm–03:15pm Exercise: Removing test risks
03:15pm–03:30pm Break
03:30pm–04:00pm Review of the exercise
04:00pm–04:30pm Summary and Outlook
04:30pm–05:00pm Questions and Feedback

Exclusive and customized

We are happy to adapt the content and focus of our training courses to your specific wishes and needs.

More Information