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.
Software/Hardware used:
ASKED:
July 18, 2007 1:03 AM
UPDATED:
February 18, 2008 3:23 PM
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.