thePHP.cc Logo Deutsch Contact
Test-Driven Development

Test-Driven Development

Test-Driven Development (TDD) is a proven way of developing software quickly and purposefully. It involves first writing a failing test and then writing only as much productive code as is needed to satisfy that test. If used correctly, this results in clean code that is 100% tested.

With TDD, one does not need to plan the software design ahead, but the design emerges while developing the software. If you realize that the design could be improved, you refactor the code, safe-guarded by the existing tests. This is called the red/green/refactor cycle.

In this training, you will learn about Test-Driven Development and experience directly in Ensemble Programming how to apply it and what to look out for.

Learning Objectives

Target Audience

This training is aimed at participants who program PHP professionally and have always been unhappy about writing too few tests. The training is not necessarily about promoting TDD as the only true way to develop software, but about recognising the advantages of this approach and being able to switch between methodologies as needed.

Requirements

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

Test-Driven Development 799,- EUR

4 Online Sessions á 120 minutes

No date is currently planned for this training.

  1. Introduction

    Duration: 120 minutes

    • The benefit of writing tests first
    • Chicago or London: Inside-out or outside-in?
    • Live Demo: Red, Green, Refactor in practice
  2. Red

    Duration: 120 minutes

    • Q and A
    • Getting started with a guiding test
    • Ensemble Programming: How much test is needed for the next step?
  3. Green

    Duration: 120 minutes

    • Q and A
    • Ensemble Programming: Minimal solutions
    • Happy Paths or Edge Cases?
  4. Refactor

    Duration: 120 minutes

    • Q and A
    • When and how should I refactor?
    • Ensemble Programming: It works, now let's make it pretty!
    • Feedback and Closing
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.