Magento and Testing, well those are two words that you don't hear together very often do you?
That is the main motivation behind this book, is my attempt to lower the barrier of entry that a lot of developers experience when trying to build testable extensions.
What will you learn from this book?
We will learn TDD (Test Driven Development) of course, and we will be focusing on two particular tools:
With the early access version you are getting the complete first part of the book, that covers the theory and tools that will be used in the second part, as well go over an introductory example that makes use of everything we learned in Part 1.
By buying the early access version, you will get the DRM free book in the following formats at an introductory price, as well access to all future updates:
Updated version including the first 4 out of 6 exercises for Part2. The second part is all about practice, and what better way to put all of Part1 knowledge into practice than by building a Magento Payment extension.
Part2 will walk you through the process of building a fully fledged payment extension following a Test Driven approach, to mention a few of the topics covered we have:
- Translating requirements into stories
- PHPSpec + Behat workflow
- Creating model triads with PHPSpec
- Functional Testing with Behat+Mink
- Using adapter to integrate with external services
- Mocking APIs (Exercise 5)
- Testing Adapters with Behat (Exercise 5)
By buying the beta version, you will get the DRM free book in the following formats at an introductory price, as well access to all future updates: