Raj Aththanayake's Blog Raj Aththanayake's Blog | Tooling support for Unit Tests and TDD (Test Driven Development)

Tooling support for Unit Tests and TDD (Test Driven Development)

13. May 2010

Here I will show some latest tools that used to assist Unit Testing and TDD. 

VS2010 “Generate from Usage” 

This is a fantastic feature for developers who practice TDD.  You can generate new types and members without leaving your current location of the code. This minimizes the interruption on your TDD workflow. You can also specify the scope i.e private, protected, internal by selecting the 'New Type'.

 

 

VS2010 IntelliSense Suggestion Mode 

There are two types of IntelliSense modes in VS2010.

Completion Mode – Allows you to code faster when using predefined types.

Suggestion Mode – Predefined types are not get inserted by default and allows you to create types before you define them.  (TDD Friendly)

 

For more information on IntelliSense modes, please refer to article on VS2010 quick start: http://blog.rajsoftware.com/post/VS-2010-IDE-Enhancements-Quick-Start.aspx

Suggestion Mode is TDD friendly as it allows you to write classes before you define them.

 

ReSharper support nUnit and MSUnit 

ReSharper has a Unit Test explorer. The speciality about this Unit Test explorer is that you can run combination of Unit Tests simultaneously in multiple sessions.

Note: In debugging mode only one session can be run at a time.

 

Also there is a profile called “Dot Trace” which can also be used to check the performance of the Unit Tests.

 

 

TestDriven.NET

TestDriven.NET supports NUnit, MbUnit and MSTest. You just need to right click on your test method and select “Run”.  For more information on TestDriven.NET please refer to

http://testdriven.net/

 

Unit Testing

Comments

6/18/2010 2:02:54 AM #
Hi there, I just wanted to say thanks for this informative post, can you please allow me to post it on my blog?
7/9/2010 10:28:43 AM #
Hello there, I enjoyed reading your post, thanks for this ……. I have noticed one in your pages, it takes so long to load 
7/20/2010 2:50:03 AM #
This is the good step u have taken. Thanks for writing this, its clear you have spent a good amount of time on your sites development.
8/4/2010 2:53:08 AM #
Your blog provides us a very great information. Its really very helpful to me to find result on search engine. Hope to hear more good information related to searching from your side.
8/7/2010 9:00:02 AM #
I don’t know why your page takes so long to load, it took more than 2 minutes to load here ….. anyway, this was a nice read for me. Thanks
8/17/2010 12:23:12 AM #
you really have avery nice blog,it's the first time to be here but it won't be the last untill then keep blogging..goodluck
8/27/2010 10:34:51 PM #
I suggest this site to my friends so it could be useful & informative for them also. Great effort.I love flowers...I am also interested to send flowers all over the world....
9/16/2010 12:27:52 AM #
I really liked your article. Keep up the good work.
9/22/2010 12:53:50 AM #
This is really fantastic and remarkable one
10/7/2010 2:42:07 AM #
Thanks for sharing this great article! I feel strongly about it and love learning more on this topic. It is extremely helpful for me. I hope you post again soon
10/9/2010 1:49:41 AM #
I had a great time reading your article and I found it interesting.
This is such a beautiful topic that my friends are talking about. Thanks
for this blog, we are enlightened.
10/15/2010 1:48:48 PM #
Been a lot of time since I've hear from you, I'm ecstatic I finally found your blog. We should meet up again after I'm off with with this semester school things. I wish you read this comment, I didn't know where to make a post since you got no introduction post  Laughing.
10/20/2010 7:40:15 AM #
Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!
10/20/2010 7:40:45 AM #
Thanks for providing such important information. This is the awesome post. This is really knowledgeable post for all.
10/23/2010 3:21:11 AM #
I love when I have the opportunity to read blogs as interesting as this. really thanks and congratulations.
10/27/2010 3:21:52 AM #
Thanks for sharing this great article! I feel strongly about it and love learning more on this topic. It is extremely helpful for me. I hope you post again soon
10/28/2010 4:40:51 AM #
I like reading your articles. Post is very informative; it helped me with great information so I really believe you will do much better in the future.
11/2/2010 5:08:06 AM #
Wow nice information you have shared here.  Actually Google made searching of information easy on any topic. Well keep it up and post more interesting blogs
11/10/2010 2:05:31 AM #
Nice post to hang on.. Nice informative article for the developers..
11/12/2010 8:00:48 AM #
I really appreciate your professional approach. These are pieces of very useful information that will be of great use for me in future.
11/20/2010 12:17:03 AM #
Great work! I admire the way you emphasized your beautiful ideas right here. Hope to hear more from you.
12/3/2010 5:26:57 AM #
I was very pleased to find this site. I wanted to thank you for this great read!! This is a very informative post, it helps me more
12/7/2010 6:17:44 AM #
Thank you for this great information, you write very well which i like very much. I am really impressed by your post.
Comments are closed