Testing Clientside JavaScript

Learn the tools and techniques to write comprehensive unit tests for your clientside JavaScript code.
More
Learn the tools and techniques to write comprehensive unit tests for your clientside JavaScript code.
More
QUnit
48m 15s
Jasmine
56m 42s
Mocha
31m 49s
Mocking
18m 8s
Jasmine Spies
28m 25s
Sinon
1h 9m
Javascript is the programming language of the web, and more and more developers are using it every day. Unfortunately, far less JavaScript code is tested than just about any other kind of code. This course will teach you the tools and techniques necessary to enable you to write unit tests for your browser-based JavaScript code. First you will learn the three most popular JavaScript unit testing frameworks: QUnit, Jasmine, and Mocha. Then you will learn how to do mocking in JavaScript, and finally you will learn some additional utility tools that will make writing tests and getting results a breeze.

Learn by doing. Use hands-on exercise files to follow along with the course and practice concepts as you’re watching them. Sign up now to enhance your training.

Start free trial

Course transcripts are the written form of the course audio. You can use transcripts to just read the audio, or to search for terms or phrases to find where they are discussed in the training. Sign up to try them now.

Start free trial

Ask questions, read feedback from other learners and share your input, all in our discussion forums. Sign up now to join our community of learners, course authors and friendly support staff.

Start free trial

You’ve completed the course but did you master it? Test yourself with questions that gauge your understanding of the material and show you what to brush up on. Sign up to get started.

Start free trial
Table of Contents
QUnit
48m 15s
Jasmine
56m 42s
Mocha
31m 49s
Mocking
18m 8s
Jasmine Spies
28m 25s
Sinon
1h 9m
Description
Javascript is the programming language of the web, and more and more developers are using it every day. Unfortunately, far less JavaScript code is tested than just about any other kind of code. This course will teach you the tools and techniques necessary to enable you to write unit tests for your browser-based JavaScript code. First you will learn the three most popular JavaScript unit testing frameworks: QUnit, Jasmine, and Mocha. Then you will learn how to do mocking in JavaScript, and finally you will learn some additional utility tools that will make writing tests and getting results a breeze.
Exercise Files

Learn by doing. Use hands-on exercise files to follow along with the course and practice concepts as you’re watching them. Sign up now to enhance your training.

Start free trial
Transcript

Course transcripts are the written form of the course audio. You can use transcripts to just read the audio, or to search for terms or phrases to find where they are discussed in the training. Sign up to try them now.

Start free trial
Discussion

Ask questions, read feedback from other learners and share your input, all in our discussion forums. Sign up now to join our community of learners, course authors and friendly support staff.

Start free trial
Knowledge Check

You’ve completed the course but did you master it? Test yourself with questions that gauge your understanding of the material and show you what to brush up on. Sign up to get started.

Start free trial
Course info
Level
Intermediate
Rating
(476)
Duration
4h 50m
Released
12 Feb 2013
Course authors

Joe has been a web developer for the last 13 of his 16+ years as a professional developer. He has specialized in front end and middle tier development . Although his greatest love is writing code, he also enjoys teaching and speaking about code.

Share course