Monday, February 21, 2011

Support for Database testing in NUnit?

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?

From stackoverflow
  • 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.

0 comments:

Post a Comment