Mocking vs. Test DB?

前端 未结 8 2086
无人及你
无人及你 2020-12-29 20:44

Earlier I asked this question How to correctly unit test my DAL?, one thing left unanswered for me is if to really test my DAL is to have a Test DB, then what is the role of

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-29 21:20

    Your not just testing your app, though. You are also testing your configuration and your Stored Procedures and Views. These are documented in your unit tests.

提交回复
热议问题