Okay, so I did some more testing. Correct me if this is wrong:
Rollback (by itself) at the Fixture level does nothing Rollback(IncludeSetUpAndTearDown=true) at the fixture level wraps the entire fixture in one transaction. So, you still must have Rollback at the Test level also to have the tests execute atomically in a transaction, the Rollback at the fixture level allows you to rollback Fixture Setup/Teardown actions only. Thanks! Phil Philip Japikse, MCSD.Net, MCDBA, CSM Principal Consultant Pinnacle Solutions, Inc <mailto:[email protected]> [email protected] <http://www.japikse.blogspot.com/> www.japikse.blogspot.com twitter/skimedic (513) 312-5664 From: [email protected] [mailto:[email protected]] On Behalf Of Philip Japikse Sent: Sunday, December 28, 2008 8:11 PM To: [email protected] Subject: MbUnit Re: Rollback for a fixture Sweet. Worked like a champ. I tried that, but must not have applied the IncludeSetUpAndTearDown attribute. Gonna have to update my blog post to include that detail. Thanks! Phil Philip Japikse, MCSD.Net, MCDBA, CSM Principal Consultant Pinnacle Solutions, Inc [email protected] www.japikse.blogspot.com <http://www.japikse.blogspot.com/> twitter/skimedic (513) 312-5664 From: [email protected] [mailto:[email protected]] On Behalf Of Jeff Brown Sent: Sunday, December 28, 2008 7:56 PM To: [email protected] Subject: MbUnit Re: Rollback for a fixture Hmm... in that case try just applying [Rollback] to the fixture itself. Jeff. On Sun, Dec 28, 2008 at 4:39 PM, Phil Japikse <[email protected]> wrote: All, I see that I can Rollback and set (IncludeSetUpAndTearDown=true). Can this be done at the fixture level also? iow, have something like IncludeFixtureSetUpAndTearDown and an additional property? tia --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
