Companies Home Search Profile

Unit Testing in Node.js with Jest - e2e Testing & more

Focused View

Ghulam Abbas

4:10:32

358 View
  • 1. Introduction to the Course.mp4
    01:56
  • 2. What is Testing.mp4
    03:27
  • 1. Installing all required tools.mp4
    01:43
  • 1. How to get Source code of project.mp4
    02:07
  • 1. What is Jest.mp4
    01:26
  • 2. Writing our first unit test.mp4
    09:09
  • 3. What is Mock or Mocking.mp4
    09:09
  • 4. mockImplementation and mockImplmentationOnce.mp4
    06:09
  • 5. Jest spyOn.mp4
    03:19
  • 6. Describe & it.mp4
    02:27
  • 7. beforeEach, afterEach, beforeAll, afterAll.mp4
    03:17
  • 1. Overview of Jobs API.mp4
    07:23
  • 2. Mock Request & Mock Response.mp4
    10:57
  • 3. Mock User Model & bcryptjs.mp4
    05:31
  • 4. Unit Test Register User.mp4
    06:04
  • 5. Jest restoreAllMocks.mp4
    01:53
  • 6. Unit Test Register user Validation Error.mp4
    03:20
  • 7. Unit Test Duplicate Email Error.mp4
    03:07
  • 8. Unit Test Missing Login Email & Password.mp4
    03:43
  • 9. Unit Test Invalid Email or Password for Login.mp4
    06:09
  • 10. Unit Test Login User.mp4
    03:18
  • 1. Jobs Controller Mocks.mp4
    04:03
  • 2. Testing Get All Jobs.mp4
    09:00
  • 3. Unit Test Create Job.mp4
    05:24
  • 4. Unit Test Create Job Validation error.mp4
    03:49
  • 5. Unit Test Get Job By ID.mp4
    04:36
  • 6. Unit Test CastError.mp4
    03:01
  • 7. Unit Test Update Job.mp4
    07:22
  • 8. Unit Test Unauthorized error.mp4
    02:44
  • 9. Unit Test Delete Job.mp4
    02:45
  • 1. Overview of auth middleware.mp4
    02:40
  • 2. Testing Missing Authorization header.mp4
    05:48
  • 3. Testing Missing JWT error.mp4
    01:48
  • 4. Unit testing auth middleware.mp4
    05:30
  • 1. Testing User Model.mp4
    03:53
  • 2. Testing User Model Validation error.mp4
    04:13
  • 3. Testing missing password.mp4
    03:58
  • 1. Unit Testing getJwtToken.mp4
    04:30
  • 2. Unit Test sendEmail with Nodemailer.mp4
    06:39
  • 3. Overview of AWS S3 Class.mp4
    05:12
  • 4. Unit Test upload image to AWS S3.mp4
    04:39
  • 1. Lets start e2e testing.mp4
    00:37
  • 2. DB handler with mongodb-memory-server.mp4
    05:38
  • 3. Connecting & Closing DB.mp4
    03:23
  • 4. Testing Register user.mp4
    06:07
  • 5. Testing Login user.mp4
    04:12
  • 6. Testing 404 Routes.mp4
    01:53
  • 1. Testing Get All Jobs.mp4
    03:34
  • 2. Testing Create new Job.mp4
    07:22
  • 3. Testing Get Job By Id.mp4
    04:38
  • 4. Testing Update Job.mp4
    02:59
  • 5. Testing Delete Job.mp4
    01:54
  • 1. Jest Testing Coverage.mp4
    02:09
  • 1. What is Test Driven Development (TDD).mp4
    01:22
  • 2. Writing Unit Test.mp4
    10:45
  • 3.1 tdd.zip
  • 3. Writing Endpoints.mp4
    06:20
  • 1. Basic of React Unit Testing.html
  • 1. Final Words.mp4
    00:31
  • Description


    Nodejs Unit Testing with Jest, e2e Testing, Test Coverage, Test Driven Development (TDD), Mocking and more

    What You'll Learn?


    • In depth understanding of unit testing
    • Will be able to unit testing a complete Node API
    • Understand all about Mocks, Spy and more
    • Nodejs unit testing & e2e testing using Jest
    • Testing a complete REST API
    • Learn how to write unit tests for errors
    • e2e testing of Node API
    • All about Jest
    • Basics of Test Driven Development (TDD)
    • How to generate Test Coverage Report
    • much more…

    Who is this for?


  • Nodejs Developers
  • Anyone how wants to learn Unit testing
  • Anyone how wants to test API in Nodejs
  • Anyone who want to write clean code
  • Anyone who wants to learn Jest
  • More details


    Description

    If you have any confusion or question about Unit testing in your mind, then you are at the right place. In this, In-depth Node.js Unit Testing course we will start from scratch and write units test with Jest.


    Unit testing can be really confusing something especially if you are a beginner. In this course, we will start from the basics of Jest and then write units of a complete Jobs API that contains each and every example.


    We will write unit tests for our controllers, models, utils, middleware, and much more. We will talk about how to handle error cases in Jest and how we can mock different libraries or packages.


    You don’t need to be a Node.js expert for this course but you should know basic and should how to build an API. We will cover all the particle cases of unit testing.


    We will also take a deep dive into the e2e Testing in which we will test our API from A-Z to make sure every part of the API is working as expected. We will also learn how to generate a Test Coverage Report with Jest which will give us an idea of how much code of our API is covered in Unit Testing and e2e Testing.


    ====== Topic Covered in this Unit Testing Course ======


    • Basics of Unit Testing in Jest

    • Testing API Controllers

    • Testing Middleware’s

    • Testing Models

    • Testing Utils

    • e2e Testing

    • Jest Test Coverage

    • Test Driven Development

    • React Unit Testing Basics - BONUS



    If you are willing to learn or improve your Unit Testing skills then I will see you in the course!


    Who this course is for:

    • Nodejs Developers
    • Anyone how wants to learn Unit testing
    • Anyone how wants to test API in Nodejs
    • Anyone who want to write clean code
    • Anyone who wants to learn Jest

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Ghulam Abbas
    Ghulam Abbas
    Instructor's Courses
    Hi, my name is Ghulam Abbas and I have studied Computer Science in detail. I have created several projects using different programming languages that have worth. I have learned JAVA and Python at my University. I have skills in both of these languages and also I have created several projects for my clients in Java.As a programmer, I always wanted to taste all big programming languages. When I came to JavaScript then I fall in love with it. After that time, I started learning all about Web Development whether it is front-end or back-end, I learned everything in JavaScript. JS is Love.I have over 61,000+ happy students from 182+ countries. I hope that you will also enjoy all the courses on Udemy.  I will try my best to deliver my knowledge to you.
    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 57
    • duration 4:10:32
    • Release Date 2023/01/31

    Courses related to Node.Js

    Courses related to Unit Testing