September 2014
Intermediate to advanced
270 pages
6h 1m
English
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." | ||
| --Martin Golding | ||
Writing and maintaining any form of software is like fighting entropy; given enough time and changes, any code base will gradually decline into disorder. A test suite is a closed system; if you do not provide energy in constant upkeep and planning, the suite will deteriorate and will fail constantly. Every new feature and line of code added to our website makes our test suite obsolete. The only way to fight back these natural forces is to constantly upgrade and improve existing tests.
In this chapter, we will start to grow our test suite organically and take a look at an anti-pattern ...
Read now
Unlock full access