Database testing support in NUnit?

I am aware that database testing (CRUD) can be viewed from the NUnits field, as this is not entirely unit testing, but nonetheless:

Is there any standard way in NUnit to test a database?

Is there something in the pending transaction lines or any other solutions that I can't think of?

+3
source share
1 answer

There XtUnit , but I do not know if it works with NUnit 2.5

MbUnit has a built-in [Rollback], you can use MbUnit instead of NUnit to test the database.

+2
source

Source: https://habr.com/ru/post/1718402/


All Articles