Return to profile for Thorsten Frommen

How (Not) to Write Testable Code

40 minute intermediate seminar


This session is about writing code that can easily be tested. By means of negative examples, Thorsten explains what makes code rather hard to test, or even untestable. Each „bad practice“ is first presented in an abstract way, and then illustrated and discussed using one or more concrete PHP and JavaScript code examples. In the end, Thorsten shows how to solve the individual issues at hand, and thus produce testable code—even if you don’t test it yourself.