How to unit test ado.net code RRS feed

All replies

  • 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

    Sunday, October 27, 2019 3:19 PM