thePHP.cc Logo Deutsch Contact
Advanced PHPUnit

Advanced PHPUnit

PHPUnit is the standard test automation tool for PHP. This training teaches the advanced use of PHPUnit in real projects. In addition to testing object interactions and side effects, you will also learn, for example, how to avoid risky tests and work with code coverage information.

Learning Objectives

Target Audience

This training is aimed at participants who have practical experience with test automation and want to learn how to successfully implement difficult tests with PHPUnit, as required in everyday project work.

Requirements

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

Advanced PHPUnit 1.188,- EUR 12 Credits

6 Online Sessions á 120 minutes

This training will next start on .

After that, it is expected to next take place in .

  1. Test Isolation

    Duration: 120 minutes

    • What is test isolation and why do we need it?
    • Testing isolated from dependencies: Interfaces, loose coupling, and stubbing
    • Practical Exercise
    • Exercise Discussion and Feedback
  2. Collaborating Objects

    Duration: 120 minutes

    • Q and A
    • Testing communication between objects
    • Practical Exercise
    • Exercise Discussion and Feedback
  3. Testing Side Effects

    Duration: 120 minutes

    • Q and A
    • Testing I/O: File system, database, email, and other nasty things
    • Practical Exercise
    • Exercise Discussion and Feedback
  4. Code Coverage

    Duration: 120 minutes

    • Q and A
    • Effective use of code coverage
    • Practical Exercise
    • Exercise Discussion and Feedback
  5. Risky Tests

    Duration: 120 minutes

    • Q and A
    • Understanding and remediating risky tests
    • Practical Exercise
    • Exercise Discussion and Feedback
  6. Optimizing the Test Suite

    Duration: 120 minutes

    • Q and A
    • Tips for (more) readable tests
    • Tricks for running tests faster
    • Summary and Outlook

Your Trainer

Sebastian Bergmann Sebastian Bergmann is the author of PHPUnit and sets the industry standard for quality assurance.

Request notification

We will be happy to inform you by e-mail when a specific date for this training has been set.
Please enter your e-mail address here.

Request exclusive training

We will be happy to contact you to plan an exclusive training.
Please enter your e-mail address here.

We only use the data entered here to send the requested information.

Thank you for your interest!

Please give us a little more context:

Thank you for your interest!

We will contact you as soon as a date has been fixed.

We will get back to you as soon as possible.

Book training

Training X

    An error has occurred during processing. Please check the marked fields.

    Education Flat Rate

    This training can also be attended as part of our education flat rate.

    Are you already a customer of our education flat rate? Then please register for this training via the dashboard. Please contact us if you do not yet have access to your dashboard.

    Not yet a customer of our education flat rate? Then you can find all the information you need here .

    Account Information

    Participant details

    Contact information

    Billing address

    Our offer is aimed exclusively at companies.

    All prices are subject to the statutory VAT applicable at the time of invoicing.

    After we receive your booking, you will receive your invoice from us the next working day and we will contact you by email to request the contact details of the participants.

    We use the data collected via this form exclusively for contract processing.

    Voucher

    Booking

    Thank you for your booking!

    You will receive your invoice from us the next working day, and
    we will contact you by e-mail to ask for the contact details of the participants.

    Wir haben an die übermittelten Kontaktdaten bereits eine Einladung verschickt.

    Exclusive and customized?

    We are happy to conduct any training exclusively online ("in-house") for you. We adapt the content and focus to your specific wishes and needs and optionally work with examples directly from your code base.