English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 2h 11m | 588 MB
Create successful test suites for frontend and backend JavaScript apps using the industry’s best tools
JavaScript brings vast amounts of freedom to both frontend and backend developers. However, that freedom comes at a cost: the need to continually screen your applications for bugs and possible optimizations. The presence of multiple testing frameworks such as Jasmine and Mocha confuses newcomers and experienced JavaScript devs when it comes to deciding which one is the best tool for the job.
In this course, you will delve into different aspects and specifics of JavaScript testing. You will enhance your skills by mastering many topics that have been a source of confusion in the past—such as integration testing, E2E testing, and Behavioral Driven Development. You will learn how to break down your code into systems that you can challenge individually in an isolated environment, thus catching bugs early before they reach production.
With the testing skills you’ve acquired, you will examine the most available testing frameworks and tools (including Jasmine, Mocha, Chai, and Jest) to find the one that suits you best. Having the right tool for the job will help you work with Test-Driven and Behavioral-Driven Development on all application layers.
Learn
- Master different testing types such as unit testing, behavioral testing, smoke testing, and more
- Work with the most widespread JavaScript testing tools such as Jasmine, Mocha, and Jest
- Master all Test-Driven Development best practices
- Write tests in a comprehensible manner and set up the foundations for BDD
- Organize and split your code in a way that allows efficient testing
- Mock dependencies so you can focus on what really matters
- Write a framework-agnostic, end-to-end testing suite for your frontend applications
- Learn and apply industry best practices while also learning when it’s necessary to break the rules of testing
Table of Contents
Best Practices of Unit Testing
1 The Course Overview
2 Write Great Test Names
3 Single Responsibility Principle
4 Covering All Test Cases
5 Improving Your Tests with a Linter
6 Handling and Expecting Errors
BDD Best Practices
7 Red. Green. Refactor
8 Describing User Behavior
9 Testing Only the Public API
10 Using Realistic Input
11 Writing Plain Language Tests
Efficient Backend Testing
12 Testing Middleware in Isolation
13 Avoiding Testing Tested Code
14 Using Static Code Analyzers
15 Creating Realistic Mock Environments
16 E2E Controller Testing with SuperTest
Efficient Frontend Testing
17 Isolating and Testing Individual Components
18 Mocking the API
19 Testing the Frontend Efficiently
20 Writing E2E Tests with NightmareJS
Other Types of Testing
21 Defining Application Key Functionalities
22 Smoke Testing Best Practices
23 Spotting Regressions
24 CI Best Practices
25 Course Summary
Resolve the captcha to access the links!