» SQL Server
» Database Unit T...
» Database Testin...
» Impersonation (RSS)
Sorry, but there are no more tags available to filter with.
When you run NUnit/C# unit tests against your local
instance, you are a dbo. As such, you are not getting any errors caused by
missing permissions. However, you can impersonate another user, and run your
unit tests in the context of that other user. The following test harness demonstrates