IT Community - Software Programming, Web Development and Technical Support

Unit tests for .Net applications

This is a discussion on Unit tests for .Net applications within the Software Testing forums, part of the Software Quality Assurance category; With NUnit you can execute unit tests for .Net applications Follow the following steps: 1). Open Visual Studio .Net and ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Quality Assurance > Software Testing

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-16-2007, 08:44 AM
devarajan.v devarajan.v is offline
D-Web Master
 
Join Date: May 2007
Posts: 382
devarajan.v is on a distinguished road
Thumbs up Unit tests for .Net applications

With NUnit you can execute unit tests for .Net applications

Follow the following steps:

1). Open Visual Studio .Net and Open one new class file.

and add the referece of the NUnit framework

2).Prepare class which intantiate the object of class you want to test

3).write methods for test cases seperated by [Test] (NUnit attribute)

5).Compile the test class and get the .dll file.

6).Open NUnit Gui and open .dll file and execute tests.


Thanks & Regards
devarajan.V
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit testing saras Software Testing 0 01-02-2008 03:53 AM
compilation unit anbuchezhians Java Programming 1 07-29-2007 11:02 PM
What steps are needed to develop and run software tests? itbarota Software Testing 1 07-23-2007 05:52 AM
IQ and personality tests webmaster The Lounge 6 03-26-2007 06:10 PM


All times are GMT -7. The time now is 09:38 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0