Improving Application Quality Using Test-Driven Development (TDD)(methodsandtools.com)

submitted by martinigmartinig(568) 5 years, 3 months ago

This article provides an introduction to Test-Driven Development with concrete examples using Nunit

1 comment |category: |Views: 10

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by JudahGabrielJudahGabriel(814) 5 years, 3 months ago 0

Good article, but doesn't get into any of the problems when doing unit tests. For example, unit testing your UI is a pain in the ass. Unit testing your data access layer that talk to the database is also a huge pain.

Both problems are solvable (MVP design pattern for UIs, frameworks built atop NUnit like Roy Osherove's XTUnit), but they are not addressed in the article. It leaves the reader with a rainbow faery world view of unit testing. The reality is that unit tests are very difficult to write for large sections of code and require much more than the simple examples put forth in the article.

Reply

information Login or create an account to comment on this story