Skip to content

Monthly Meeting - February/2020

Photo of Luís Cobucci
Hosted By
Luís C. and 3 others
Monthly Meeting - February/2020

Details

Schedule:
18:00 - Doors open
18:30 - Food
20:00 - Talk
20:45 - Raffles and announcements
21:00 - Social, drinks, and snacks

Parking info: People coming by car can park at P22 and validate the parking ticket at the reception https://drive.google.com/file/d/1B2uIaGRGsrCXK-h0RQV2-6OXeh3bOxaK/view

Talk: Hall of Mirrors

Having done away with "eval()" and "register_globals" we now live in a brave new world of autoloading third-party dependencies, object reflection and comment @annotations. Do you really know what is executed when you run a bit of code and do you even want to? PHPUnit is designed to isolate pieces of code for testing. Together with a debugger, this makes for an excellent sandbox to explore this topic. Using the internals of the testing framework we take a look at how quickly complexity creeps in. Starting with a simple test we explore what happens when complexity is introduced: parameters, dependencies, process isolation and finally reordering of units of work. At every step the testing core has to do more work to hide what is really going on. The talk ends connecting the dots by looking at the architecture and implementation of the execution reordering features, introduction of a state-cache and footprint improvements of data-driven automated tests.

Speaker: Ewout Pieter den Ouden

On kitchen duty at PHPUnit. I like to create things that humans enjoy using. Sometimes the best way to do this is by writing code.

Photo of AmsterdamPHP group
AmsterdamPHP
See more events
Koninklijke Schiphol Group
Evert van de Beekstraat 202 · Schiphol, NH