Re: Examples of TDD/Junit antipatterns

"[email protected] [testdrivendevelopment]" <[email protected]> 11 Apr 2016 08:49:30 -0700
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <[email protected]>
Hi Pooja 

 Check out the Meszaros book "xUnit Test Patterns" and the concept of "Obscure Test".
 Obscure Test at XUnitPatterns.com http://xunitpatterns.com/Obscure%20Test.html 
 
 Obscure Test at XUnitPatterns.com http://xunitpatterns.com/Obscure%20Test.html Obscure Test The book has now been published and the content of this chapter has likely changed substanstially. Please see page 186 of xUnit Test Patterns for the latest information. 
 
 
 
 View on xunitpatterns.com http://xunitpatterns.com/Obscure%20Test.html 
 Preview by Yahoo 
 
 
 

 The Nat Pryce / Steve Freeman book is also v good, especially around acceptance test first development.
 


 I think the main misunderstandings / pitfalls of TDD today are layed out here... 
 Ian Cooper: TDD, where did it all go wrong https://vimeo.com/68375232 
 
 https://vimeo.com/68375232 
 
 Ian Cooper: TDD, where did it all go wrong https://vimeo.com/68375232 Since Kent Beck wrote the book on TDD in 2002 a lot of words have been dedicated to the subject. But many of them propogated misunderstandings o...
 
 
 
 View on vimeo.com https://vimeo.com/68375232 
 Preview by Yahoo 
 
 
 also Steve Freeman - Test-Driven Development (that’s not what we meant) https://vimeo.com/83960706  
 
 
 https://vimeo.com/83960706 
 
 Steve Freeman - Test-Driven Development (that’s not wh... https://vimeo.com/83960706 This is "Steve Freeman - Test-Driven Development (that’s not what we meant)" by agilefinland on Vimeo, the home for high quality videos and the…
 
 
 
 View on vimeo.com https://vimeo.com/83960706 
 Preview by Yahoo 
 
 
 

 Lastly, most engineers seem to be classicists... is that because we were taught how to test systems?

 Mocks Aren't Stubs http://martinfowler.com/articles/mocksArentStubs.html

 
 
 http://martinfowler.com/articles/mocksArentStubs.html 
 
 Mocks Aren't Stubs http://martinfowler.com/articles/mocksArentStubs.html Explaining the difference between Mock Objects and Stubs (together with other forms of Test Double). Also the difference between classical and mockist styles o...
 
 
 
 View on martinfowler.com http://martinfowler.com/articles/mocksArentStubs.html 
 Preview by Yahoo 
 
 
  
 Lastly, Mark Seeman has some good courses on TDD - highly recommended
 http://app.pluralsight.com/author/mark-seemann http://app.pluralsight.com/author/mark-seemann