We talk about how frameworks, and especially their documentation, do little to make it easier. But we are to blame as well: the Conference speakers, bloggers, and community leaders, talk about Quality Assurance, but we are inadvertently creating barriers. Instead of helping people, often we make it harder for them to admit to not knowing how to properly test. We discuss the need for finding the smallest testable units, and how kata’s can help you get familiar with the tools. Finally, Everzet gives you some homework.
- The difference between fakes, stubs, mocks, and spies
- Testing the outcome of an action
- Testing the communication between objects
- Kent Beck-style Classical TDD
- The London School of TDD, with GOOS-style mockist testing
This time we’re keeping it very focused on one subject — and we both learned some new ideas from each other in the process! We feel it’s our best episode yet ;–) Topics covered include:
- Value Objects, Entities and Identity
- Money as an example
- Encapsulating behaviour along with the Value Object state
- Contracts, composition and other OOP features
- Casting and parsing from and to Value Objects
- Persisting Value Objects with Doctrine or other ORM’s.
In other news, we’ve been working on various additions. We’ve submitted the podcast feed to iTunes, and we are now waiting for Apple to accept it. Please keep sending us your ideas (or pull requests!), so we can improve your experience. We’re both very busy and total podcast noobs, so allow us some time to get the details sorted.
We decided at the PHPNW13 conference to start a PHP podcast. In our very first podcast episode ever, we discuss the importance of design. And, because we might as well start with a bang, we talk about caching and naming things as well. We’re all over the place :–)
Please leave your feedback in the comments or on Twitter. Let us know what topics you’d like us to discuss next, our any specific questions you might have.