write nunit test

How to mock SqlConnection, SqlCommand?
2 Replies
Jimmacle
Jimmacle4mo ago
by not doing that and running your tests against an actual server if you must mock your database queries, you're probably better off refactoring your queries into services that are more easily mocked
sarah hachouche B09
ok thanks
Want results from more Discord servers?
Add your server