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.199,- EUR

6 Online Sessions á 120 minutes

This training is expected to take place for the next time 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
Price per participant and subject to the statutory VAT applicable at the time of invoicing.

Ihr Trainer

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

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.

Request notification

We will be happy to inform you by e-mail when a specific date for this training course 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 course.
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.

    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.