Sebastian Bergmann

Changing code becomes routine
when the tests show what it actually does.

That takes tests that run fast and fail only when something is actually broken. I show your team how to write them: in training courses, in your own code and in reviews.

Creator of PHPUnit
1+ Billion Installs
166,000+ Dependent Packages
25+ Years Experience
eBay Etsy Salesforce Facebook BVB Trulia Payscape BillSAFE

Sebastian Bergmann

I started writing PHPUnit in 2000 and still develop it today. A new major version comes out every February.

I co-founded thePHP.cc, helped start the PHP Foundation and serve on its board. I have also represented the interests of Open Source at the European Commission.

In consulting and reviews, I work with teams on their own code. That is where it shows why tests are missing or why nobody trusts them.

Sebastian Bergmann speaking at a conference

How I help you and your team

About half of the teams I work with start with a training course, the other half with consulting and coaching on their own code. Which fits depends on what your team needs.

Training

Every course is also available for your team alone, online or on site. Public dates are run by the thePHP.cc Academy, also as part of its education flat rate.

View all training courses

Consulting & Coaching

A small e-commerce team had no tests for its code: the business logic lived in the framework, and everything talked to the database directly. We started by pinning down in tests what the code actually did; the team wrote them, I guided. Within a few weeks, a release no longer needed a day of manual checking.

I take on architecture, legacy modernisation and larger consulting projects together with Stefan Priebsch. The thePHP.cc website gives an overview.

Explore consulting & coaching

What my customers say

From training courses and consulting projects

“Crucial for the further development of our business in the coming years”
Derek Smart

Director of Software Engineering, Payscape, 2016

“The energy in the workshops was incredibly impressive. The positive feedback from my team confirmed that the effort was a complete success.”
Mike Depuy

Director of Software Engineering, Salesforce, 2015

“Sebastian and Stefan have shown us how our developers can keep delivering business value without getting sidetracked by our legacy code, and they have set us on track to reach a lot more common grounds between all our development teams.”
Dave Rochwerger

Director Engineering, Trulia, 2014

Case study at thePHP.cc

“Sebastian helped us both through reviews of our codebase and through training for our team. New employees were able to transfer their skills to PHPUnit in no time.”
Noah Sussman

Test Architect, Etsy Inc., 2012

“We had the pleasure of working with Sebastian to train our teams. He did excellent work and we will certainly use his services again in the future.”
Oliver Ratzesberger

Senior Director, eBay Inc., 2011

“Identified the weaknesses of the existing software with precision”
Cornelius Suermann

CTO, BillSAFE, before 2012 (translated)

together with Stefan Priebsch

Insights

I write down what I learn from working on PHPUnit and with teams.

Windfall apples in the grass beneath an apple tree, photographed in the warm light of a low sun. The trunk and its shadow are visible at the top of the frame, with red apples covering the ground densely in front of it, many of them bruised. The imagery picks up the metaphor Marco Pivetta uses for mutation testing: shaking the tree does not tell you how much it bears, but which fruit no longer held.

Where tests end and types begin

In April 2022, I spent two hours talking about mutation testing with Marco Pivetta and Stefan Priebsch. The recording recently resurfaced. What of it has survived four years?

Read more: Where tests end and types begin
In a dark room, a hand holds a small ultraviolet torch over a printed form titled CREDIT NOTE. Where the beam falls on one of its fields, a handwritten line appears that the form does not show in ordinary light: I am invisible. More sheets with printed charts lie around it on the desk, barely visible in the blue light.

Your tool has a new reader

Every PHP tool that prints to a terminal now has two readers, and most of us have only been writing for one of them.

Read more: Your tool has a new reader
This image shows a close-up of a light-coloured tailor's measuring tape piled up in loose loops and coils against a warm, blurred background. The numbers and scale marks are only sharp in places. The imagery communicates the essence of Goodhart's Law: a measuring instrument tangled up in itself no longer measures anything. When the metric becomes the target, measurement loses its direction and its purpose.

When the metric becomes the target

Goodhart's Law states that a metric ceases to be a good metric as soon as it becomes a target. What this means for code coverage and why tools alone cannot solve the problem.

Read more: When the metric becomes the target

Presentations & Talks

Material and recordings from conferences and events

Material
October 2026

Speed is a byproduct of trust

LLM-based tools make it easy to go fast, and just as easy to go fast in the wrong direction. Teams do not move faster despite their quality controls. They move faster because they can trust them.

More information: Speed is a byproduct of trust

Events

You can meet me next at these events

Let's talk about your project

In the free 30-minute call, we work out whether a training course, consulting or a review fits your team.

Book Discovery Call

30-minute free initial consultation

Book a direct appointment for a non-binding consultation. We'll discuss your challenges and find the best solution together.

Book Discovery Call Now

Book Emergency Appointment

Fast help in urgent cases

An emergency appointment lasts 60 minutes and costs €299. The next free slot is usually within two working days.

Book Emergency Appointment

Contact Form

Send me a message

Describe your project and I will reply within two working days. If you need one, we can work under an NDA.