Writing Testable Code in Magento 1 and 2


Video Download

Presented by Vinai Kopp (@VinaiKopp)

Presented on July 27, 2016

SKU: NMVDL201607 Category:


After mastering the technicalities of tools like PHPUnit to automatically execute tests, often writing tests still seems to be difficult. Balancing the value that tests provide against the amount of time spent writing and maintaining them does not clearly tilt the scales in favor of the tests. However, according to some individuals writing tests allegedly saves time and money in the long term. How can that be?

As it turns out, learning to use a testing tool is just the first step on a journey of learning how to write code that is easy to test. This presentation is about what to keep in mind in order to create code that is simple to test, so we can experience the joy of TDD to it’s fullest.

Vinai Kopp

A passionate Web Developer, Vinai has been an open source enthusiast since 1998.

Since March of 2008 he has specialised on the Magento platform, which at the time was still in its beta stages. Between working as a freelancer and collaborating in larger, corporate teams, he has been able to gather valuable experience from a wide-range of projects. This priceless experience motivated Vinai to move into training developers, particularly on how to effectively customise Magento.

Since then he has spent thousands of hours, training an array of developers and teams, in all aspects of the Magento platform, across the World. Topics range from extension development, using Git with Magento, performance tuning, to automated testing. In the past, Vinai has worked as a full-time Magento U instructor. He is a member of the Magento Certification Advisory Board and was one of the first to pass the MCD+ exam. Vinai is co-author of the German ‘Magento Developer Handbook’ published by O’Reilly in 2010 and co-author of ‘Grokking Magento’ and was recently announced as one of the Magento Masters in the Mentors category.