Giter Club home page Giter Club logo

javascript-testing-best-practices's Introduction

JavaScript Testing Best Practices

This is the code repository for JavaScript Testing Best Practices [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.

About the Video Course

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.

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

Instructions and Navigation

Assumed Knowledge

This task-based learning guide will help users and developers adapt to new core standards and best practices in testing applications. This course is framework-agnostic and covers most JavaScript frameworks along with different testing layers—such as testing frameworks, BDD, and frontend E2E testing.

Technical Requirements

Setup and Installation

Minimum Hardware Requirements

For successful completion of this course, students will require the computer systems with at least the following:

· OS: Windows, Linux, MacOS · Processor: Dual Core Processor 1.2Ghz or greater · Memory: 4GB · Storage: Enough to install a browser, NodeJS, Visual Studio Code and a few dependencies

Recommended Hardware Requirements For an optimal experience with hands-on labs and other practical activities, we recommend the following configuration: · OS: Windows, Linux, MacOS · Processor: QuadCore Processor 1.6Ghz or greater · Memory: 8GB Ram · Storage: Enough to install a browser, NodeJS, Visual Studio Code and a few dependencies

Software Requirements · OS: Windows 10, Linux, MacOS · Browser: Google Chrome Provide links/instructions so that the customer can easily find out where to download the required software.

NodeJS: https://nodejs.org/en/ Visual Studio Code: https://code.visualstudio.com/ Google Chrome: https://www.google.com/chrome/

An Azure account or the ability to create one.

Related Products

javascript-testing-best-practices's People

Contributors

packt-itservice avatar packtmrunal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.