Photo of Sebastian Bergmann

Training from the Creator of PHPUnit

Do you need help with test automation? Sebastian Bergmann, creator and project lead of PHPUnit, offers on-site trainings and workshops. He has two decades of experience helping companies around the world to leverage PHPUnit for unit tests, integration tests, and system tests.

All our on-site trainings are customized and highly interactive. We suggest a training duration of one to four days, depending on the desired amount of hands-on experience. Up to ten participants for efficient learning. Attendees should have working knowledge of PHP and OOP. We offer our on-site trainings in English or German around the globe.

Based on your individual needs and prior knowledge we can deliver one to four days of custom on-site PHPUnit training. You can choose from our suggested building blocks, or we can discuss additional and individual content:

Getting Started

Installing and configuring PHPUnit. Getting to know the framework. Writing and running tests. Testing return values and exceptions.

Objective: Automate tests with PHPUnit.

Contact us for more information

Dealing with Dependencies

Test isolation. Testing object interaction. Replacing dependencies. Stubs and Mocks. Testing database and filesystem interaction.

Objective: Write complex, isolated unit tests.

Contact us for more information

Best Practices

Proven best practices to get the most out of PHPUnit. Finding untested code. Making sure that tests are useful. Using tests to communicate with non-technical people.

Objective: Master advanced PHPUnit features.

Contact us for more information

Testing Legacy Code

Understanding common issues. Approaches to making legacy code testable. Writing tests for problematic code.

Objective: Automate tests for legacy code.

Contact us for more information

Integration Testing

Functional Tests. The test pyramid. Finding the right test mix. Frontend Tests.

Objective: Use PHPUnit beyond the scope of unit tests.

Contact us for more information

Writing Testable Code

What makes code hard to test. How to write test-friendly code. SOLID and Clean Code principles.

Objective: Avoid test complexity by design.

Contact us for more information