lundi 23 mars 2015

How do I test against a different database in .net using nunit

I want to create unit tests for my project In order to not interfere with my development database I want to run the tests against a different "test" database which tables I will truncate after each test is performed.

I am using NUnit as my test framework. Is there a way to switch to a test database when I run the tests?


Aucun commentaire:

Enregistrer un commentaire