Unite testing the project (VB version 8 )

0 pts.
Tags:
VB.NET
I would like to create the unit test using the VB.NET version 8(Visual Stadio 2005). My project done use the OOP. we have -Bo class(Bussiness Object : to store the properties) -Dao class(database access object : methods to connect database. sample : Insert, update, delete,retrive and search data). I d't understand well about the unit test too. please feel free, explain me "what to do" and "how to do" also.
ASKED: July 18, 2007  1:03 AM
UPDATED: February 18, 2008  3:23 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Please clarify what you mean by “create the unit test”

Assuming that you are asking what tools should you use — there are several available that will provide a framework to let you exercise your code. both NUnit and MBUnit are opensource frameworks for Unit testing within .Net. I’ve used both successfully but would recommend MBUnit as it beats NUnit in easily generating Automated testing (IMHO)

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Database111
    Unit tests are used to exercise other source code by directly calling the methods of a class, passing appropriate parameters, and then, if you include Assert statements, they can test the values that are produced against expected values. Unit test methods reside in test classes, which are stored in source code files. You can create unit tests using a code generation feature that creates the initial source code of the test, or you can write the test completely by hand. Either way, the test class and all test methods are identified by using programmatic attributes.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following