8

Training: Advanced PHPUnit | The PHP Consulting Company

 1 year ago
source link: https://thephp.cc/training/advanced-phpunit
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Training: Advanced PHPUnit

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 page effects, you will also learn, for example, how to avoid risky tests and work with code coverage information.

Learning Objectives

  • You can also test difficult scenarios such as the interaction of objects
  • You can fix the problems that underlie risky tests
  • You can find code that is not yet tested with the help of PHPUnit

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.

  • Before the training

  • Introduction

    • Welcoming, introducing and collecting expectations (ca. 15 min)
    • What is test isolation and why do we need it? (ca. 30 min)
    • The three types of unit tests (ca. 15 min)
    • Live Coding: Testing return values and exceptions (ca. 30 min)
    • Testing isolated from dependencies: Interfaces, loose coupling, and stubbing (ca. 45 min)
    • Discussion of the work assignment (ca. 15 min)
  • Work Assignment

    In order to directly gain your own practical experience, you will work on your work assignment in your own time until the next online session.

    Details
  • Your solutions

  • Collaborating Objects

    • Joint review of selected work assignments (ca. 30 min)
    • Q and A (ca. 30 min)
    • When we need to break the isolation (ca. 30 min)
    • Live Coding: Testing communication between objects (ca. 45 min)
    • Discussion of the work assignment (ca. 15 min)
  • Work Assignment

    In order to directly gain your own practical experience, you will work on your work assignment in your own time until the next online session.

    Details
  • Your solutions

  • Testing Side Effects

    • Joint review of selected work assignments (ca. 30 min)
    • Q and A (ca. 30 min)
    • Testing I/O: File system, database, email, and other ugly things (ca. 30 min)
    • Live Coding: Testing Side Effects (ca. 45 min)
    • Discussion of the work assignment (ca. 15 min)
  • Work Assignment

    In order to directly gain your own practical experience, you will work on your work assignment in your own time until the next online session.

    Details
  • Your solutions

  • Code Coverage and Risky Tests

    • Joint review of selected work assignments (ca. 30 min)
    • Q and A (ca. 30 min)
    • Live Demo: Understanding and remediating risky tests (ca. 30 min)
    • Working with Code Coverage (ca. 30 min)
    • Summary and Outlook: When do the difficult issues actually come up? (ca. 15 min)
    • Feedback and Closing (ca. 15 min)
  • After the training

  • Follow-Up

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)

Please note that depending on the training booked, the individual online appointments 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 optionally work with examples directly from your code base.

More information

Your Trainer

We are internationally recognized, leading experts with long-standing experience in our fields of expertise. You training will be hosted by Sebastian Bergmann.

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

Get in touch with us:

Online Consulting (fee-based):

Send us a message directly:

© thePHP.cc Imprint | Privacy


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK