4 ms·
TDD takes time and is hard to get right at first. I'm sure you will find the usual tutorials so I would rather recommend this blog post: https://www.stevefenton
by jermo 12y ago
TDD takes time and is hard to get right at first. I'm sure you will find the usual tutorials so I would rather recommend this blog post: https://www.stevefenton.co.uk/Content/Blog/Date/201305/Blog/My-Unit-Testing-Epiphany/ https://www.stevefenton.co.uk/Content/Blog/Date/201305/Blog/...
and Ian Cooper's talk "TDD, where did it all go wrong":
https://vimeo.com/68375232 https://vimeo.com/68375232
In a nutshell: test your high level API and not your implementation, minimize your usage of mocking.