The test suite is slow

Date:
Track:
Language:

Abstract

Medium to large projects have thousands of unit and integration tests, running at each build to catch regressions; if you leave these builds alone they can grow in size until it takes hours to declare a green build.
In this session we will deploy all the strategies known to man for reaching a fast test suite, from profiling to caching to Fake collaborators, multiple stages and projects, and an hint of parallelism.
The technical side is all based on PHP code: usually no external tools other than PHPUnit and Xdebug/Kcachegrind are necessary to halve your running times.

Tags:

Slides

Video

Sponsored by

Media Partner

Back to top