Testing Index Page

We would like our index page to return and display all of the products in database. To do that, we are going to need a database, but actually we don't need to have that. There comes mocking scenario.

We only need mock of the database. To get started, let's add mocking tool. Where we could find that? Right, in the NuGet Packet Manager.

Install JustMock in our test project only.

results matching ""

    No results matching ""