Testing CRUD Functions

In this lesson, the whole project will be compiled to test all the functions discussed in the previous lessons.

We'll cover the following

In the previous lessons, you saw the implementation for the create, read, update and delete operations.

In this lesson, we will test these functions by running the test case file, MongoDb.dll, that is created when the Github project compiles.

All the test cases should pass if the implementations are correct.

You can go through the file MongoDbRepositoryTests.cs, given below, in order to view the different test cases written for the functions.

Get hands-on with 1400+ tech skills courses.