Rollback and Ivonna 

Monday, November 10, 2008 11:16:47 AM

I was very excited about the release of mbUnit v.3. However, one of the most useful integration test features, the Rollback attribute, doesn't work with Ivonna.

The reason is that the transaction scope is created in the original AppDomain, while the test is being run in the Asp.Net AppDomain.

The rollback feature will be implemented in the next major version of Ivonna. For now, unfortunately, you'll have to implement it yourself. Fortunately, this is not that hard:

 

        Using New TransactionScope(TransactionScopeOption.RequiresNew)
            'your test here
        End Using
Copyright 2008 by me
8 + 4 =  

Site Map | Printable View | © 2008 - 2012 Your Company Name

Powered by mojoPortal | HTML 5 | CSS | Design by styleshout