Brand new course that was created out of my personal experience looking for a detailed and short course on automated testing in ExpressJS applications. Preparing for interviews and solving recruitment tasks for your next job have never been easier as this course provides real world examples that will support the codes you have written and provide concise examples of how you can write test suites for you code to make it stand out. For any intermediate / senior backend developer role, its expected you have good coding practice including writing test cases for your code. Since most web applications are build off REST APIs, This course have been modelled around expressJS APIs that were built for an e–commerce application.
The primary goal of this course is to help software developers set up test suites for their APIs. As said above, for this to be possible, we provide the code to the backend of an expressJS application. You will set up your own mongoDB database and connect the application to the database. Afterwards, we validated the APIs using postman. Thereafter, we use Supertest and Jest to test this APIs and create test suites. We also made sure we handle tests for APIs that need authorization tokens as this is the situation with real–world applications that you will be building or working on.
Specification: Automated testing using supertest and Jest