An example of TDDing a class that generates the list of prime factors for a given number by Robert C Martin: [Slides](http://butunclebob.com/files/downloads/Prime%20Factors%20Kata.ppt).
An example of TDDing a class that generates the list of prime factors for a given number by Robert C Martin: [Slides](http://butunclebob.com/files/downloads/Prime%20Factors%20Kata.ppt).
This is a brilliant example in *solving things as simple as possible*. For example the first few tests the list of prime factors is generated by `add [n] if [n] divides [m]` without testing for being prime at all.
This is a brilliant example in *solving things as simple as possible*. For example the first few tests the list of prime factors is generated by `add [n] if [n] divides [m]` without testing for being prime at all.
### Google TechTalk
## Google TechTalk
[Design Tech Talk: OO Design for Testability](https://www.youtube.com/watch?v=acjvKJiOvXw)
[Design Tech Talk: OO Design for Testability](https://www.youtube.com/watch?v=acjvKJiOvXw)