Re: Kata for test smells
Matteo Vaccari <[email protected]>
| Newsgroups | gmane.comp.programming.test-driven-development |
|---|---|
| Message-ID | <CADwhwbNnrUJTXVNUJP7CK1BXaBHc+jqW3Xt-dndJR2xYN0sKNg@mail.gmail.com> |
On Tue, Feb 19, 2013 at 10:23 PM, johantoutsimplement < [email protected]> wrote: > Hi everyone, > > I've been asked to teach test smells Thursday (!) and I'm looking for a > piece of test code that has a good number of them in order to use it for > identifying and then removing the test smells. I plan to make the learners > work on their proper test code but I'd like them to warm up on one or two > "distilled" examples first. And I'm thinking someone has already done that > before and might have it lying around somewhere. > > I did find the introduction example in Meszaros book "xUnit Test Patterns" > which could do. But I was hoping for some choice. > > > There are a number of simple examples of how difficulties in the test drive a change in the code in Mauricio Aniche's book. http://www.casadocodigo.com.br/products/livro-tdd Unfortunately this book is only available in Portuguese... Another thing you could do is try this exercise: http://tech.groups.yahoo.com/group/testdrivendevelopment/message/35005 The tests that this problem drives you to write will have problems... that you can then talk about. Matteo [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/testdrivendevelopment/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/testdrivendevelopment/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/