This is the code repository for The Complete JavaScript Unit Testing Guide [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
Unit testing allows the automation of the testing process and helps you discover errors contained in more complex pieces of the application. It enhances test coverage because attention is given to each unit. Writing unit tests will help you improve your JavaScript code before you even start writing it This course will teach you to use unit testing in your JavaScript applications and covers tools and techniques you'll need to write unit tests for your code. You will learn how to handle data from different sources, test the application on different browsers, and also run it in the cloud. You will learn how to test applications using Jasmine, Mocha, Ava, Tape, and Intern. By the end of the course, you will be able to perform unit testing using JavaScript to deliver better code.
- Use unit testing to deliver solid code in your applications
- Deploy unit testing as part of your development environment.
- Explore techniques such as Test Driven Development and Behavior Driven Development to write useful tests.
- Compare JavaScript unit testing frameworks to determine which fits your needs
- Write descriptive and effective tests using Assertion libraries
- Set up test runners on your local machine and in the cloud.
To fully benefit from the coverage included in this course, you will need:
This course is for web developers with intermediate experience in JavaScript development. This course will help developers set up the components necessary to test their applications, and provides a guide to writing effective tests.
This course has the following software requirements:
Minimum Hardware Requirements
For successful completion of this course, students will require the computer systems with at least the following:
OS: Windows, Mac-OS, or Linux
Processor: Dual-Core
Memory: 4GB RAM
Storage: 128GB storage
Recommended Hardware Requirements For an optimal experience with hands-on labs and other practical activities, we recommend the following configuration:
OS: Windows, Mac-OS, or Linux
Processor: Intel i5 or higher Processor
Memory: 8GB RAM
Storage: 256GB storage
Software Requirements
Operating system: Windows, Mac-OS, or Linux
Browser: Chrome, Firefox, Internet Explorer (Windows) or Safari
IDE of your choice (Atom, WebStorm, Visual Studio Code, etc)
Node.js LTS 8.9.1 Installed
Java 8 JDK