Advanced PHPUnit

Successful test automation in everyday projects, with solutions for even the trickiest of problems.

  • Best practices of dealing with side-effects
  • Find untested code
  • Use feedback from PHPUnit to improve tests
Advanced PHPUnit

Advanced PHPUnit

PHPUnit is the standard test automation tool for PHP.

This training course teaches you how to use PHPUnit in advanced ways in real-world projects. In addition to testing object interactions and side effects, you will also learn how to avoid risky tests and how to work with code coverage information.

From the Contents

  • What is test isolation and why do we need it?
  • Testing in isolation from dependencies: interfaces, loose coupling and stubbing
  • Testing communication between objects
  • Testing I/O: file system, database, e-mail and other nasty things
  • Effective use of code coverage
  • Understanding and eliminating risky tests
  • Tips for creating clear and readable tests
  • Tricks to speed up execution

Who should participate?

This training is for anyone who wants to deepen their knowledge of PHPUnit.

Are there requirements for participation?

Prerequisites are practical experience with PHPUnit and knowledge of object-oriented programming in PHP. The necessary basics are taught in Test Automation with PHPUnit.

What this training offers you

  • Best practices for handling side effects
  • Find untested code
  • Use feedback from PHPUnit to improve tests

Frequently Asked Questions

Find answers to your questions about our training courses

Why are there no full-day online courses?
Our content is designed for optimal online learning: Short, focussed sessions promote concentration and provide time to process what has been learned between units.
Are the training sessions live or recorded?
All our training courses take place live as a video conference and are led by an experienced trainer. Participants can ask questions at any time.
What makes your training courses unique?
Our training courses combine hands-on tasks with live coding and solving real-life problems. Our experienced trainers guarantee a particularly good learning experience.
Are your training courses remote or in-person?
We offer our training courses both remotely and in person in order to meet the different requirements of our customers.
Can you tailor training courses specifically to our needs?
Naturally. We can customise our training courses to the individual needs of teams and their technology stacks at any time.
What advantages do individualised training courses offer?
In-house training courses allow you to arrange individual topics, flexible dates and guarantee targeted learning in a familiar environment. This is usually financially viable for four or more participants.
Is there a certification?
Yes, participants will receive a certificate on request after successful participation.

Advanced PHPUnit

Book now or talk to us about how we can customise this training for your company.

Feb 2025

Duration: 12 hours

18 and 21 and 25 and 28 Feb 2025 and 04 and 07 Mar 2025, 09:00am-11:00am (CET)

1199 €
Add to Calendar online (Zoom) Sebastian Bergmann English
Cannot be booked any more

Feb 2026

Duration: 12 hours

Days and times have not yet been finalised.

1199 €
online (Zoom) Sebastian Bergmann English
Let me know

As individual training (online)

Duration: 10-16 hours

Your Preferred Date!

from 4500 €
online (Zoom) Sebastian Bergmann English / German
Discuss Customized Options

As in-house training (on-site)

Duration: 2 days (with additional topics)

Your Preferred Date!

from 5500 €
Your location Sebastian Bergmann English / German
Discuss Customized Options