Test Automation with PHPUnit (online)

If you want to be sure that software works properly, you have to test it continuously. This can either be done manually after each change and at corresponding cost, or the tests can be automated. In this way, future changes and enhancements to the software are also safeguarded.

Attendees of this training will learn to use PHPUnit, the standard test automation tool for PHP, and successfully integrate it into their development process.

Learning Objectives
  • Installing and configuring PHPUnit
  • Writing and running automated tests
  • Isolating test from its dependencies
  • Applying best practices for testing with PHPUnit
Target Audience

This training is intended for software developers (junior, intermediate, senior) who have little or no practical experience with test automation.

Requirements

We recommend several months of experience programming in PHP or a similar programming language. Participants should be familiar with the basic concepts of procedural and object-oriented programming.

    • You book your training directly online with us. For purchase on account or special group rates contact us or write an email.
    • You will receive an email within a short time in which we confirm your participation.
    • Within 48 hours during our business hours you will receive your
      Invoice

      Companies with their registered office in Germany are of course entitled to deduct input tax from the invoice. For European Union companies based outside Germany, the reverse charge procedure applies. For companies based outside the European Union, no sales tax is due.

      as a PDF document.
  • Online Session

    Introduction

    • Welcoming, introducing and collecting expectations (ca. 15 min)
    • Introduction: Why do we want to automate tests? (ca. 30 min)
    • Writing and running automated tests (ca. 45 min)
    • Live Demo: Install and configure PHPUnit (ca. 45 min)
    • Discussion of the work assignment (ca. 15 min)
  • Work Assignment

    First tests with PHPUnit

    In order to directly gain your own practical experience, you will work on the exercise task "First tests with PHPUnit" in your own time until the next online session.

    Work assignments are designed to take 1 to 2 hours to complete. You decide whether you work on the exercises alone or in a work group. Forming a work group with another training participant you have never met before can be an interesting and instructive experience.

    Of course, we will not leave you alone with questions about your work assignments. Between the online sessions, you will receive support via e-mail from the trainer on all questions regarding the previous training content and the work assignments.

  • Consultation

    Do you have further questions about the training topics or the work assignment?

    Visit the optional bookable consultation hours with your trainer (45 min each). Here, your questions are discussed in a video conference in a small group of participants and you receive further assistance for the work assignment as required. Of course, you can also receive brief feedback on the status of your solution so far. Your trainer will often have a few helpful tips for you.

  • At the latest until the day before the next online session, you can send the solution of your work assignment "First tests with PHPUnit" to the trainer by e-mail. At the beginning of the next online session, examples selected from all submissions will be discussed and improved by the trainer.

  • Online Session

    Execution Paths

    • Joint review of selected work assignments (ca. 30 min)
    • Q and A (ca. 30 min)
    • Testing complex code (ca. 60 min)
    • Discussion of the work assignment (ca. 15 min)
    • Feedback and Closing (ca. 15 min)
  • Work Assignment

    Testing multiple execution paths

    In order to directly gain your own practical experience, you will work on the exercise task "Testing multiple execution paths" in your own time until the next online session.

    Work assignments are designed to take 1 to 2 hours to complete. You decide whether you work on the exercises alone or in a work group. Forming a work group with another training participant you have never met before can be an interesting and instructive experience.

    Of course, we will not leave you alone with questions about your work assignments. Between the online sessions, you will receive support via e-mail from the trainer on all questions regarding the previous training content and the work assignments.

  • Consultation

    Do you have further questions about the training topics or the work assignment?

    Visit the optional bookable consultation hours with your trainer (45 min each). Here, your questions are discussed in a video conference in a small group of participants and you receive further assistance for the work assignment as required. Of course, you can also receive brief feedback on the status of your solution so far. Your trainer will often have a few helpful tips for you.

  • At the latest until the day before the next online session, you can send the solution of your work assignment "Testing multiple execution paths" to the trainer by e-mail. At the beginning of the next online session, examples selected from all submissions will be discussed and improved by the trainer.

  • Online Session

    Global State

    • Joint review of selected work assignments (ca. 30 min)
    • Q and A (ca. 30 min)
    • Testing stateful objects (ca. 30 min)
    • Live Demo: How PHPUnit handles global state (ca. 30 min)
    • Discussion of the work assignment (ca. 15 min)
    • Feedback and Closing (ca. 15 min)
  • Work Assignment

    Testing stateful objects

    In order to directly gain your own practical experience, you will work on the exercise task "Testing stateful objects" in your own time until the next online session.

    Work assignments are designed to take 1 to 2 hours to complete. You decide whether you work on the exercises alone or in a work group. Forming a work group with another training participant you have never met before can be an interesting and instructive experience.

    Of course, we will not leave you alone with questions about your work assignments. Between the online sessions, you will receive support via e-mail from the trainer on all questions regarding the previous training content and the work assignments.

  • Consultation

    Do you have further questions about the training topics or the work assignment?

    Visit the optional bookable consultation hours with your trainer (45 min each). Here, your questions are discussed in a video conference in a small group of participants and you receive further assistance for the work assignment as required. Of course, you can also receive brief feedback on the status of your solution so far. Your trainer will often have a few helpful tips for you.

  • At the latest until the day before the next online session, you can send the solution of your work assignment "Testing stateful objects" to the trainer by e-mail. At the beginning of the next online session, examples selected from all submissions will be discussed and improved by the trainer.

  • Online Session

    Dependencies

    • Joint review of selected work assignments (ca. 30 min)
    • Q and A (ca. 30 min)
    • Testing decoupled from dependencies (ca. 45 min)
    • Summary and Outlook (ca. 30 min)
    • Feedback and Closing (ca. 15 min)
    • Material

      After the last online session, you will receive all materials used in the training, such as presentations, sketches, or sample code, together with supplementary material such as links and references to further literature for follow-up. For some training topics, you will also receive access to additional digital content on the topic of the training.

    • Certificate of Participation

      All participants who have attended the online sessions and completed the work assignments will receive a certificate of participation from us.

    • E-Mail Support

      Of course, we also support you in integrating what you have learned into your everyday work. We provide support via e-mail (response time: 24 hours during our working hours) for all participants for four weeks after the last online session on all questions related to the topics of the training.

    • Closing Meeting

      After the end of the email support, you will have another opportunity to ask the trainer your questions in the joint closing meeting (circa 30 minutes).

      In addition to an outlook on further topics, the trainer has a few more tips and tricks up his sleeve. And last but not least, we are interested in your final feedback on our training.

  • Three to six months after the training, you should consider attending more advanced training to build on the practical experience you have gained up to that point.

    We will also be happy to accompany you on your further path in an advisory or coaching capacity. Please contact us.

Scope of Services
  • four video conferences for knowledge transfer (3 hours each)
  • three work assignments of 1-2 hours processing time each with e-mail support during the processing period
  • four weeks of email support after the last online session
  • joint closing meeting (30 min)
  • optionally three additional consultation hours with the trainer (45 min each)
  • optional individual feedback on the solutions of each work assignment in text form

Please note that depending on the training booked, the individual online appointments and consultation hours may each take place at different times of the day.

Technical requirements for attending an online training.

Available online "inhouse"

Inquire

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 work with examples directly from your code base.

More information