How do we handle code dependencies when testing? Here you will learn everything about test stubs and mock objects.
You won't find a more in-depth insight into the use of PHPUnit than from the developer himself. The training courses are always excellent!
A participant in another training in this series in 2025
You want to test code that depends on other code. When should you replace the real dependencies with test stubs or mock objects? When should the code under test work with its real dependencies, and when should it not?
Here you will learn about the advantages and disadvantages of test stubs and mock objects. Afterwards, you will understand how PHPUnit's test double functionality works and which parts you should steer clear of.
If you want to be sure that software works properly, you have to test it continuously. Tools such as PHPUnit are constantly being improved, as are best practices for their use.
It doesn't matter whether you already have many years of experience testing PHP software with PHPUnit or are just getting started in the world of testing, for example in our training courses Test Automation with PHPUnit or Advanced PHPUnit: When it comes to testing software, there is always something new to learn and old patterns to rethink.
In Tester's Corner, we concisely cover a topic related to automated software testing every month.
Tester's Corner is aimed at all developers who test their software with PHPUnit. Whether you are a beginner or an experienced user of PHPUnit, there is always something new to learn here.
Prerequisites are (at least initial) practical experience with PHPUnit and knowledge of object-oriented programming in PHP. The necessary basics are taught in the training courses Test Automation with PHPUnit and OOP Done Right.
Start now by registering – or book a free consultation to customise this session for you.
Duration: 45 minutes
20 Jul 2026, 04:00pm-04:45pm (CEST)
Duration: 1-2 hours
Your preferred date, any number of participants. Either in Zoom or using your preferred video conferencing software.
Duration: 1 day (with additional topics)
Your preferred date, any number of participants. At your company or at your desired location.