وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

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

سرفصل های دوره

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


1. Introduction
  • 1. Introduction to the Course
  • 2. What is Testing

  • 2. Setting up Environment
  • 1. Installing all required tools

  • 3. SOURCE CODE OF PROJECT
  • 1.1 jobs_api_git_link.txt
  • 1. How to get Source code of project

  • 4. Basics of Unit Testing in Jest
  • 1. What is Jest
  • 2. Writing our first unit test
  • 3. What is Mock or Mocking
  • 4. mockImplementation and mockImplmentationOnce
  • 5. Jest spyOn
  • 6. Describe & it
  • 7. beforeEach, afterEach, beforeAll, afterAll

  • 5. Lets Unit Test Jobs API
  • 1. Overview of Jobs API
  • 2. Mock Request & Mock Response
  • 3. Mock User Model & bcryptjs
  • 4. Unit Test Register User
  • 5. Jest restoreAllMocks
  • 6. Unit Test Register user Validation Error
  • 7. Unit Test Duplicate Email Error
  • 8. Unit Test Missing Login Email & Password
  • 9. Unit Test Invalid Email or Password for Login
  • 10. Unit Test Login User

  • 6. Testing Jobs Resource
  • 1. Jobs Controller Mocks
  • 2. Testing Get All Jobs
  • 3. Unit Test Create Job
  • 4. Unit Test Create Job Validation error
  • 5. Unit Test Get Job By ID
  • 6. Unit Test CastError
  • 7. Unit Test Update Job
  • 8. Unit Test Unauthorized error
  • 9. Unit Test Delete Job

  • 7. Testing Middlewares
  • 1. Overview of auth middleware
  • 2. Testing Missing Authorization header
  • 3. Testing Missing JWT error
  • 4. Unit testing auth middleware

  • 8. Testing Models
  • 1. Testing User Model
  • 2. Testing User Model Validation error
  • 3. Testing missing password

  • 9. Testing Utils
  • 1. Unit Testing getJwtToken
  • 2. Unit Test sendEmail with Nodemailer
  • 3. Overview of AWS S3 Class
  • 4. Unit Test upload image to AWS S3

  • 10. e2e Testing - Auth
  • 1. Lets start e2e testing
  • 2. DB handler with mongodb-memory-server
  • 3. Connecting & Closing DB
  • 4. Testing Register user
  • 5. Testing Login user
  • 6. Testing 404 Routes

  • 11. e2e Testing - Jobs Resource
  • 1. Testing Get All Jobs
  • 2. Testing Create new Job
  • 3. Testing Get Job By Id
  • 4. Testing Update Job
  • 5. Testing Delete Job

  • 12. Jest Test Coverage
  • 1. Jest Testing Coverage

  • 13. Test Driven Development (TDD)
  • 1. What is Test Driven Development (TDD)
  • 2. Writing Unit Test
  • 3.1 tdd.zip
  • 3. Writing Endpoints

  • 14. Bonus Lecture - Basic of React Unit Testing
  • 1. Basic of React Unit Testing.html

  • 15. Congratulations
  • 1. Final Words
  • 45,900 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 5375
    حجم: 1880 مگابایت
    مدت زمان: 251 دقیقه
    تاریخ انتشار: 12 بهمن 1401
    طراحی سایت و خدمات سئو

    45,900 تومان
    افزودن به سبد خرید