The Test Suite Holy Trinity


It was so good that I took notes on what to improve when I go back to work.

Abstract

What would the perfect test suite look like? Well it would definitely fully test every bit of functionality. It would run lightning fast. And the test suite would be quick to write. That sounds great right?

Unfortunately these 3 goals work against each other. Increasing test coverage will increase the time spent writing and executing tests. Reducing test execution time will result in lower coverage.

This talk look at the properties of unit, integration and system tests in terms of what they test, how fast they run and how quick they are to write. Will look at how to get the most out of testing at each of these levels, how best to architect code for testing and where best to make comprises.
 Although by the end of the talk we won’t have quite achieved the Test Suite Holy Trinity, we’ll be a step closer.


See more talks.

Events
PHPMiNDS Jun 2018

[slides] [website]

Benelux Jan 2018

[slides] [joind.in] [website]

PHP North East Jan 2018

[slides]

PHP Brighton Jan 2018

[slides]

PHP Dorset Jan 2018 (beta version)

[slides]

PHP Hants Apr 2017 (beta version)