Testing with Craft

Giel Tettelaar

Giel Tettelaar

“You can’t sleep well if you are not confident your last commit didn’t take down the whole application”

Testing is a critical part of reducing bugs in your code and ensuring your code breaks less once you start adding features to it. Testing allows you to catch problems quickly and without requiring any manual work from you. This clears time you normally spend on debugging complicated/unexpected errors and dealing with aggravated clients, which you can then spend on making more awesome software!

This talk will cover the what/why/how of Testing Craft sites, modules and plugins, introduce the upcoming officially supported Craft testing framework – which I am helping build, and give you some helpful tips & examples to get started.