Test Driven Magento Extension Development
This book is 60% complete
Last updated on 2015-11-01
About the Book
Testing let alone TDD has always been a difficult, and often neglected topic in the Magento ecosystem.
The Magento developer community has approached testing in many different ways and, as a result, some meaningful solutions have been created, such as MageSpec, BehatMage, and Ecomdev's PHP Unit integration.
That being said; testing is still a rare practice among Magento developers, not surprising considering that building proper tests for a Magento extension can be difficult for even seasoned veterans, let alone developers just getting started.
In this book, we attempt to lower the barrier to entry for building testable and high-quality extensions using TDD techniques and principles, and in a way where is easy to build on and keep your testing skills growing.
As well, this book aims to offer a practical reference for any Magento developers looking to develop extensions using a test-first oriented approach.
HOW IS THE BOOK STRUCTURED?
Some of the concepts and tools used in the book can be daunting at first, especially for developers without previous testing experience.
For that reason, this book is split into two sections:
In the first part of the book, we go over the theory and introduce the tools and techniques used in the rest of the book. We also dive into the advantages and challenges of testing Magento extensions.
In the second part, we change gears and take a hands-on approach applying the techniques and tools that we learned before to build some of the most common types of Magento extensions like:
- Payment Gateways
- Shipping Methods
- Extending the Backend
By the end of the book, readers will be able to build efficiently and test their own Magento extensions using any of the frameworks and tools covered in this book.
Developers will also gain a much deeper and clear understanding of the TDD techniques and principles and how they can relate to their Magento development workflow.
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.