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 (permalink)  
Old 07-16-2007, 09: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
Sponsored Links
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit testing saras Software Testing 0 01-02-2008 04:53 AM
compilation unit anbuchezhians Java Programming 1 07-30-2007 12:02 AM
What tests are done for user interface testing?Are there any standards to follow ? Wh sundarraja Software Testing 1 07-27-2007 06:21 AM
What steps are needed to develop and run software tests? itbarota Software Testing 1 07-23-2007 06:52 AM
IQ and personality tests webmaster The Lounge 6 03-26-2007 07:10 PM


All times are GMT -7. The time now is 06:27 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0