Geeks With Blogs
Prasanna's Blog BizTalk, WCF, C# and Software Factories

Honestly speaking i was never a fan of TDD till few months back, but the more i read on this topic the more i am facsinated about it. Not untill I read Agile Principles, Patterns and Practices by Robert C Martin, where he talks about the relevance of unit test to validate both design and code smell.

Okies let me brief out some of the new cool features of xUnit.net

Things i liked of xUnit.Net compared to NUnit

  • Single Object Instance per Test Method.
  • No [SetUp] or [TearDown] - replaced by constructor
  • No [ExpectedException] - appropriate exceptions at relevant line of code
  • Aspect-Like Functionality.
  • Reduced the Number of Custom Attributes.  i am fan of AOP

Most liked

  • Use of Generics.
  • Anonymous Delegates.

for further reading refer codeplex

Posted on Thursday, January 31, 2008 8:24 AM | Back to top


Comments on this post: Next Generation Unit Test Framework xUnit.net

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Prasanna Krishnan | Powered by: GeeksWithBlogs.net