Lightning fast tests

Workshop abstract

One of the benefits of having an automated test suite is the feedback given when the code is being changed. As the project grows, the test suite becomes slower and slower every day, until it’s so slow it stops being useful. Tests are disabled, skipped and finally removed. A huge part of the problem lies in getting the testing pyramid wrong and putting too much effort into the wrong type of testing. Learn how to structure your project to benefit from lightning fast tests. Apply the right amount of testing on appropriate levels and run your tests in seconds, not hours.

Setting up a developer environment

The appliance is based on Ubuntu and has all services needed by workshops installed. All code with git repos cloned is also in the appliance, you might need to do a git pull. You will need to reinstall PHPStorm since the demo license was valid for 30 days.

Remember to use a laptop with a processor capable of hardware virtualization and at least 4 GB of RAM (8 GB is highly recommended). Regular hard disk will do, but having an SSD is an advantage.

Workshop video

Jakub Zalas

Symfony Core Dev

Jakub is a Symfony core team member, active in the community organizing regular meetups, speaking at conferences, and contributing to open source. Being focused on quality, he is very into practices like clean code, BDD, or TDD.