This is a 5 minute video of Peter Provost answering some basic questions about Test Driven Development. He is currently the product architect of Visual Studio 2010.
This video was originally posted on http://channel9.msdn.com/shows/ARCast.TV/ARCastTV-Test-Driven-Development-Pri... but the download link is broken and they havent' fix it.
Since is such a good video, I wanted to share it. I do not own the rights for this video, but have no copyright violation intention in it.
Sounds great in theory but I'm currently making a class which draws an icon with a number centered on it and writing tests for the output is virtually impossible.
ComicPenius 2 years ago
Hi @ComicPenius. Thanks for your opinion. There are certain parts of a system that are harder to test, like the User Interface. There are frameworks for that (WaitN, Selenium, etc). You should always ask yourself if automation in UI tests are worthwhile; maybe what you are doing cant be unit tested. Specially in Object Oriented programming you can apply Test Driven Development for making sure each object behaves the way you intend, I see the need of TDD on a daily basis. Hope this helps!
ocenteno 2 years ago