News for hackers. Stuff that matters.
Re:The Pragmatics of TDD by azurelogic on Wednesday March 06, 2013 @01:33PM (#5332867)
This gets into the differences between unit testing and integration testing. Sometimes it is worth just making sure that your repository class can actually insert, find, and delete data. It's just a different part of the "testing pyramid" (http://watirmelon.com/tag/software-testing-pyramid/)
Re:The Pragmatics of TDD by jbaudanza on Wednesday March 06, 2013 @02:14PM (#5333162)
A unit's dependency is part of that unit. If a unit test mocks out all the dependencies, that test is running in a fantasy world.