JavaScript Testing Best Practices

Video description

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

About This Video

  • 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

In Detail

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.

Publisher resources

Download Example Code

Product information

  • Title: JavaScript Testing Best Practices
  • Author(s): Dimitris Loukas
  • Release date: November 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781838641344