Hi everyone!

I just switched from NUnit to MBUnit and I'm really enjoying it more
everyday. One thing I'm trying to do is unit tests that call
webservices and rollback any data changes.

In my case, a test calls a weservice on my machine which inserts some
data on a sql server 2005 db (on my machine as well) and then
rollsback any db changes. Problem is, it doesn't rollback! What am I
doing wrong?

        [RowTest]
        [Row("insert in db")]
        [RollBack2]
        public void TestInsertObj(string s)
        {
            using (WebService ws = new WebService())
            {
                ws.InsertObjString(s);
            }
        }

Any help would be greatly appreciated. Thanks,
Ricardo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to