Oreilly - The Complete JavaScript Unit Testing Guide
by Haider Malik | Released March 2019 | ISBN: 9781789138009
Eliminate bugs and improve the quality of your JavaScript code. Reduce your development costs with unit testingAbout This VideoA comprehensive guide to delivering reliable code using JavaScript.Covers the latest techniques and code examples of unit testing that you can perform in your code.This course offers an in-depth exploration of techniques for making unit tests more robust and easier to maintain.In DetailUnit 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 itThis 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 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.The code bundle for this course is available at - https://github.com/PacktPublishing/The-Complete-JavaScript-Unit-Testing-GuideDownloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you. Show and hide more
- Chapter 1 : Getting Started with Unit Testing
- Course Overview 00:01:45
- What Is Unit Testing? 00:03:32
- Unit Versus Integration Versus End-to-End Testing 00:01:42
- Writing Your First Unit Test 00:04:48
- Testing Numbers and Strings 00:05:42
- Testing Truthiness 00:03:18
- Testing Arrays and Objects 00:05:04
- Testing Exceptions 00:03:39
- Chapter 2 : Test-Driven Development and Behavior-Driven Development
- Overview of Test-Driven Development 00:03:05
- Using TDD with Jest 00:05:25
- Overview of Behavior-Driven Development 00:04:15
- Writing Test Using BDD 00:09:30
- Chapter 3 : Exploring Assertion Libraries
- Using Assert.js for Testing 00:04:15
- Document Test with Expect.js 00:03:47
- Writing Tests with Should.js 00:04:12
- Powerful Assertion Testing with Chai.js 00:03:40
- Chapter 4 : Frameworks for Application Testing
- Testing Applications with Jasmine 00:02:56
- Unit Testing with Mocha 00:05:54
- Running Parallel Tests with AVA 00:04:30
- Testing with Tape 00:02:32
- Using Intern for Unit Testing 00:03:29
- Chapter 5 : Handling Data from Other Sources
- Creating Mock Data Sources for Testing in Jest 00:08:06
- Mocking Asynchronous Services in Unit Testing 00:05:30
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.