This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
i used sql helper to perform db operation. i use this one https://gist.github.com/imranbaloch/10895917
please tell me how could i unit test the sql helper wrapper call. i am using VS2013 & version 4.5.2
thanks
Why do you want to unit test database operations with ADO.NET? I'd argue against writing unit tests for this use case and write Integration Tests if you have to.
If you still want to write unit tests, look into using moq.
william xifaras