Test Automation with PHPUnit

AI generates code faster than ever. Automated tests make sure it actually works. Learn PHPUnit from the ground up.

  • Write tests that immediately show you whether your code really works
  • Test even complex code with dependencies cleanly and reliably
  • Apply proven practices that keep your tests readable and maintainable
Test Automation with PHPUnit

This training really helped me get started with unit testing and also gave me a better understanding of the reasoning behind it. I now know exactly how to approach unit testing and how to name and develop tests. I also found the background to the history of PHPUnit really interesting. This training course is excellent for anyone who wants to get started with unit testing.

A participant in the training in May 2025

Test Automation with PHPUnit

You write PHP code but do not have automated tests yet? Or you already use AI agents that generate code. But how do you make sure that code actually works?

Automated tests are the answer. In a world where more and more code is being created at an ever-increasing pace, testing is more important than ever: as a safety net, as a specification and as a guarantee of quality. PHPUnit is the standard tool for automated testing in PHP. In this training, you will learn it from the ground up.

You will learn how to set up PHPUnit, write your first tests, and step by step make even complex code testable. From simple assertions to stateful objects to handling dependencies: after this training, you will have the tools and the knowledge to use automated tests in your project.

From the Contents

  • Why automated tests are indispensable, and why especially now
  • Installing, configuring, and integrating PHPUnit into your development workflow
  • Writing automated tests: from your first assertion to comprehensive test cases
  • Testing complex code: stateful objects and side effects
  • Testing independently of dependencies: the basics of test isolation
  • Best practices: tests that not only work, but are also readable and maintainable

Who should participate?

This training is for PHP developers who want to integrate automated testing into their daily workflow. Whether you have never written a test before or are taking your first steps with PHPUnit: this is the start you need.

Are there requirements for participation?

We recommend several months of experience with programming in PHP or a similar programming language. Participants should be familiar with the basic concepts of procedural and object-oriented programming.

What this training offers you

  • You can set up PHPUnit and integrate it into your development workflow
  • You write tests for your code independently – in hands-on exercises during the training
  • You understand how to make even complex code with dependencies testable
  • You know proven practices that keep your tests readable and maintainable

Secure your spot

Start now by registering – or book a free consultation to customise this session for you.

Test Automation with PHPUnit πŸ‡¬πŸ‡§

Duration: 8 hours

7, 14, 21 and 28 April 2026, 10:00-12:00 (CEST)

Registration until: Mar 24, 2026

799 €
Book for 799 €

Testautomation mit PHPUnit πŸ‡©πŸ‡ͺ

Dauer: 8 Stunden

18. und 25. Aug. 2026 und 01. und 08. Sept. 2026, jeweils 10:00-12:00 (MESZ)

Anmeldefrist: 4. Aug. 2026

799 €
FΓΌr 799 € buchen

Test Automation with PHPUnit πŸ‡¬πŸ‡§

Duration: 8 hours

3, 10, 17 and 24 November 2026, 10:00-12:00 (CET)

Registration until: Oct 20, 2026

799 €
Book for 799 €

Test Automation with PHPUnit πŸ‡¬πŸ‡§

Duration: 8 hours

Expected in April 2027. We will be happy to notify you as soon as we have set the dates.

799 €
online (Zoom) Sebastian Bergmann
Let me know β†’

Testautomation mit PHPUnit πŸ‡©πŸ‡ͺ

Dauer: 8 Stunden

Expected in August 2027. We will be happy to notify you as soon as we have set the dates.

799 €
online (Zoom) Sebastian Bergmann
Let me know β†’

Test Automation with PHPUnit πŸ‡¬πŸ‡§

Duration: 8 hours

Expected in November 2027. We will be happy to notify you as soon as we have set the dates.

799 €
online (Zoom) Sebastian Bergmann
Let me know β†’

Test Automation with PHPUnit πŸ‡¬πŸ‡§ πŸ‡©πŸ‡ͺ

Duration: ca. 8 hours

Your preferred date, any number of participants. Either in Zoom or using your preferred video conferencing software.

from 3600 €
Your desired date online (Zoom) Sebastian Bergmann
Start free consultation on online training β†’

Test Automation with PHPUnit πŸ‡¬πŸ‡§ πŸ‡©πŸ‡ͺ

Duration: 2-3 days

Your preferred date, any number of participants. At your company or at your desired location.

from 5500 €
Your desired date Any location Sebastian Bergmann
Start free consultation on inhouse training β†’
Credits allow discounted access to our training courses. Learn More
Easy access to all our training courses for a monthly fixed fee. Learn More

Frequently Asked Questions

Why are there no full-day online courses?
Our content is designed for optimal online learning: Short, focused 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.