Ummm.. it's not the same effect. My alternative implementation is REALLY used by the application (for example, in the weekly iteration deliverable), so no fixed return_value to set via mock magic. I'm using it (the alternative implementation) as an implementation that cover all the use cases (no more, no less). And, in general, it is created using TDD itself.
On Wed, Jan 22, 2014 at 10:55 AM, Mateusz ?oskot <mateusz@...> wrote:
|