It is very likely I may be missing something, but I am unable to get
rollback to successfully work.  Here is my test:

        [Test]
        [Rollback]
        public void DoesAddRulesGroupReturnValidValue()
        {
            CWTRatingGroup ratingGroup = new CWTRatingGroup();

            ratingGroup.Name = "Test Insertion Group";
            ratingGroup.UserAdded = 1;

            object returnVal = _CWTRatingDAL.AddCWTRatingGroup
(ratingGroup);

            Assert.IsInstanceOfType(typeof(int), returnVal);
            Assert.GreaterThanOrEqualTo<int>((int)returnVal,
0);

        }

I have tried the Roll back with and without the
IncludeSetupAndTearDown and there is no change the transaction is not
rolled back.  Now I am not using anything like NHibernate, I am just
using my own data access layer.  I am new to TDD development and
switched to MbUnit from NUnit due to the rollback feature, I am hoping
I can get it working. Any help would be greatly appreciated!

Thank you in advance,
Josh Rogers
--~--~---------~--~----~------------~-------~--~----~
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