Author: MS Techie | Posted on: 1/5/2009 8:27:14 PM | Views : 285

 Hi Everyone, Currently I am doing Test Driven Development in C# . Here I am using the TRANSACTION APPROACH to maintain constant data for each test case.  So what I am doing now is // This is the pseudocodeOPEN CONNECTION GLOBAL TO ALL UNIT TESTS and Open transaction for each unit test and rollback the same after each unit test.Begin C# Transaction (ADO.Net Transaction on the SqlConnection Object) {    UnitTest 1  --> using Visual Studio 2005 Team Edition for Software Developers}RollBack C# Transaction......................................................Begin C# Transaction (ADO.Net Transaction on the SqlConnection Object) {    UnitTest 2  --> using Visual Studio 2005 Team Edition for Software Developers< ...

Go to the complete details ...