tags:

views:

93

answers:

1

I'm aware of the fact that database testing (CRUD) can be considered out of NUnits scope, since it's not quite unit testing, but nevertheless :

Is there any standard way in NUnit for database testing?

Something in the lines of rolling back transactions made, or any other solution I cannot come up with?

+1  A: 

There's XtUnit but I don't know if it works with NUnit 2.5

MbUnit has a built-in [Rollback], you might want to use MbUnit instead of NUnit for database testing.

Mauricio Scheffer