Companies Home Search Profile

Node JS API Unit Testing -Using Mocha Chai -Complete Project

Focused View

Yazdani Chowdhury

3:45:15

245 View
  • 1 - Introduction.mp4
    04:36
  • 2 - Create Project and Install Packages Part1.mp4
    13:54
  • 3 - Create Router and Controller File Part2.mp4
    08:30
  • 4 - MongoDB Database Connection Part3.mp4
    08:37
  • 5 - Design MongoDB Schema Part4.mp4
    04:26
  • 6 - Create User API Endpoint Part5.mp4
    13:57
  • 7 - API Fields Validation Part6.mp4
    03:58
  • 8 - Get all User List API Endpoint Part7.mp4
    06:51
  • 9 - Get Single User API Endpoint Part8.mp4
    10:06
  • 10 - Delete User API Endpoint Part9.mp4
    08:02
  • 11 - Update UserInfo API Endpoint Part10.mp4
    11:57
  • 12 - Install MochaChai and Add First Test Part11.mp4
    16:36
  • 13 - Add Test Case to Check Get User List API Endpoint Part12.mp4
    16:40
  • 14 - Test Case to Check Single User API Endpoint Part13.mp4
    25:06
  • 15 - Delete User API Endpoint Test Part14.mp4
    15:17
  • 16 - Create User API Endpoint Test Case Part15.mp4
    19:26
  • 17 - Update User API Endpoint Test Case Part16.mp4
    23:17
  • 18 - Fix Some Bugs Part17.mp4
    03:58
  • 19 - Generate Mocha Chai Test Report Part18.mp4
    10:01
  • Description


    You will learn to build rest api using node js and express js, how to add unit testing for rest api using mocha and chai

    What You'll Learn?


    • How to use mocha and chai to test API endpoint
    • How to build Rest API Using Node Js and Express Js
    • Node JS API Unit Testing
    • How to test API in postman
    • How to use mongodb database with node js
    • How to generate test report

    Who is this for?


  • If you are a backend developer and want to learn unit-testing
  • If you want to learn how to use mocha and chai to test your api
  • If you want to learn backend development and want to use mongodb with node js and express js
  • What You Need to Know?


  • Students don't need to have any prior knowledge to take this course
  • More details


    Description

    Welcome to this course. In this course, you will learn API Unit Testing using mocha and chai. At first, you will learn how to build the rest API using node js, express js, and MongoDB. You will learn how to test the API endpoint in postman. I will show you how to organize and save the endpoint in postman. Using postman we will be able to perform all sorts of things like create, update, get, and delete operations.


    After that, you will learn how to add unit testing for the API using mocha and chai. We will add different sorts of testing for all of our API endpoints.

    Here are some lists that you are gonna learn from this course:

    • How to build rest API.

    • API End-point unit testing using mocha and chai.

    • How to save data to MongoDB database.

    • How to organize node js project, routing, and controller of node js app.

    • How to use postman to test API endpoint.

    • How to add Mocha Chai test for each and every API endpoint.

    • How to use different kinds of assertion functions of chai in the test.

    • How to generate a test report after doing all the test

    • Different kinds of status codes need to use with mocha chai testing.

    • How to choose status code when building rest API.

    • How to use Axios to do HTTP requests.




    Who this course is for:

    • If you are a backend developer and want to learn unit-testing
    • If you want to learn how to use mocha and chai to test your api
    • If you want to learn backend development and want to use mongodb with node js and express js

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Yazdani Chowdhury
    Yazdani Chowdhury
    Instructor's Courses
    Hi! If you want to know a little bit about me then here are a few things about me: I am a full-stack software developer and currently working in a German software company located in Berlin, Germany. I have been doing programming for over 6 years now. I have completed my graduation in software engineering. In the beginning, I started my career as a mobile developer. I worked as an android and ios app developer.  After working with a couple of big software companies I started teaching on Udemy.It's been 5 years since I am creating courses for Udemy. I like to share my coding skills with my students. So that they can learn from me and build their career as a software developer. The feelings are really good when I get a mail from my students that they got a  job after completing my courses. That encourages me to create more and more courses... Till now I taught over 107,370 students from around the world.
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 19
    • duration 3:45:15
    • English subtitles has
    • Release Date 2022/11/16