Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Learning End-to-End Testing with Jest

Learning End-to-End Testing with Jest

1h 51mIntermediate2021-10-25

Authors

Chinyelu Ibute

Chinyelu Ibute

Software Engineer

Course details

Testing small parts of an application is fairly easy, but as you assemble systems, the test complexity often grows with the number of interconnected systems. Sometimes, rather than testing just the parts, you want to test the whole process, as one large set. In this course, Chinyelu Ibute shows you how the JavaScript testing framework, Jest, lets you create comprehensive tests so you can verify the functionality of your entire application. Chinyelu starts with the basics of the test-driven development, including the different types. She then shows how to write an end-to-end test for a RESTful web-service application built with Node.js and MongoDB using Jest. Finally, she explains how to test the application workflow from beginning to end, with a high code coverage.

Skills covered

JestNode.jsSoftware TestingOpen SourceSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Create comprehensive end-to-end tests with Jest
  • 02 - Prerequisites and learning objectives
  • 03 - Exercise files

1. End-to-End Test - Basics

  • 04 - Introduction to test-driven development (TDD)
  • 05 - Fundamentals of unit tests
  • 06 - Overview of integration tests
  • 07 - Basics of end-to-end tests

2. Project Setup - Recipe App

  • 08 - Template - Node.js Express project setup
  • 09 - Testing endpoints on Postman
  • 10 - Introduction to Jest
  • 11 - Jest setup

3. End-to-End Test with Jest

  • 12 - Test the Login endpoint
  • 13 - Finish up on Login endpoint test
  • 14 - Test the Create endpoint
  • 15 - Finish up on Create endpoint test
  • 16 - Test the Read endpoint
  • 17 - Test the Update endpoint
  • 18 - Finish up on Update endpoint test
  • 19 - Test the Delete endpoint

4. Test Coverage

  • 20 - Test error handling
  • 21 - Finish up on test error handling
  • 22 - Run test automatically

Conclusion

  • 23 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal