CG数据库 >> JavaScript Testing Best Practices

MP4 | Video: AVC 1920x1080 30fps | Audio: AAC 48KHz 2ch | Duration: 2h 11m

Genre: eLearning | Language: English | Size: 582 MB

Create successful test suites for frontend and backend JavaScript apps using the industry's best tools

Key Features

Follow industry best practices when building test suites for your full-stack JavaScript applications

Efficiently test your backend APIs, avoid common mistakes, and maximize test coverage

Perform platform-agnostic frontend, backend, and end-to-end testing

What You Will 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

About

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.

The code bundle is available at

Enjoy!


JavaScript Testing Best Practices的图片1
JavaScript Testing Best Practices的图片2

发布日期: 2019-11-23