Rajesh Pillai

My experiments with asp.net mvc, jquery, wpf, silverlight, sharepoint, tdd and design patterns.

  Home  |   Contact  |   Syndication    |   Login
  42 Posts | 2 Stories | 34 Comments | 0 Trackbacks

News

Twitter












Tag Cloud


Article Categories

Archives

Post Categories

business

TDD

TDD Notes, practices.
I usually love doing TDD and am moving towards understanding BDD (Behaviour Driven Development). My learnings are documented in the form of an article at CodeProject. The URL is http://www.codeproject.com/... I will keep this updated as and when I learn a couple of more things. Hope you like it. Cheers
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

MVP in Action - Unit Test Read the post here..geekswithblogs.net/ra... Synopsis This is in continuation to the article geekswithblogs.net/rajeshpi... This post will deal with writing simple unit test case for the "User" user creation use case we covered in the above blog post. Background Unit testing means testing a piece of code or a method. White unit testing we need to stub or fake out external dependencies so that the test can...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Here's a quick notes from the TDD session which I conducted some time back. Introduction Writing test before writing production code. Design as you go along. Follow Red-Green-Refactor paradigm Benefits Spot design flow early. Test before the production code is built. Identify poort requirements or requirement gaps. Reduced testing time. The test forms the functional document for your code. Quickly identify bugs. Reduces the cost of bugs in the long run. Low level regression test suite. Road blocks...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati