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

th_txLDUSSSwBvwTTIYqC4dJZAWsvR30omv

如果您对单元测试有任何困惑或疑问,那么您来对地方了。在这个深入的单元测试课程中,我们将从头开始并使用 Jest 编写单元测试。单元测试可能真的很令人困惑,特别是如果您是初学者。在本课程中,我们将从 Jest 的基础知识开始,然后编写包含每个示例的完整 Jobs API 的单元。我们将为我们的控制器、模型、实用程序、中间件等编写单元测试。我们将讨论如何在 Jest 中处理错误情况以及我们如何模拟不同的库或包。您不需要成为本课程的 Node.js 专家,但您应该了解基本知识以及如何构建 API。我们将涵盖单元测试的所有粒子案例。我们还将深入研究 e2e 测试,我们将从 AZ 测试我们的 API,以确保 API 的每个部分都按预期工作。我们还将学习如何使用 Jest 生成测试覆盖率报告,这将使我们了解单元测试和 e2e 测试中覆盖了多少 API 代码。====== 本单元测试课程涵盖的主题 == ====Jest 中的单元测试基础知识测试 API 控制器测试中间件的测试模型测试 Utilse2e 测试Jest 测试覆盖率测试驱动开发React 单元测试基础知识 – 奖金如果您愿意学习或提高您的单元测试技能,那么我们将在课程中见到您!

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

Published 11/2022
Created by Ghulam Abbas
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 58 Lectures ( 4h 10m ) | Size: 1.83 GB

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…

Requirements

Your should know Nodejs, express and mongodb
You should know how to build API in Nodejs
Basic of Testing will be helpful (but not required)

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 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 JestTesting API ControllersTesting Middleware’sTesting ModelsTesting Utilse2e TestingJest Test CoverageTest Driven DevelopmentReact Unit Testing Basics – BONUSIf 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

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/39110.html

赞 (0)
steven的头像steven
上一篇 2022年11月23日
下一篇 2022年11月23日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部