How (Not) to Write Testable Code

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.

Speaker

Dieser Beitrag wurde von am veröffentlicht.

Über Thorsten Frommen

Thorsten is a certified PHP engineer, web development professional and tester. He is working in the web since 2000, and with (and on) WordPress since 2005. Thorsten is a Principal Engineer at Syde. A big fan of open source, Thorsten created several plugins and other projects, but also contributed to existing open source projects. Also, he is an advocate of object-oriented design, and software testing. Since the first official German WordCamp in Hamburg in June 2014, Thorsten fell in love with both the WordPress community and WordCamps, in particular, where he likes to both gain and share knowledge.