Expanded Library

Testing Clientside JavaScript

by Joe Eames

Learn the tools and techniques to write comprehensive unit tests for your clientside JavaScript code.

What you'll learn

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.

About the author

Joe began his love of programming on an Apple III in BASIC. Although his preferred language is JavaScript, he has worked professionally with just about every major Microsoft language. He is currently a consultant and full time author for Pluralsight. Joe has always had a strong interest in education, and has worked both full and part time as a technical teacher for over ten years. He is a frequent blogger and speaker, organizer of ng-conf, the AngularJS conference (www.ng-conf.org), and a paneli... more

Ready to upskill? Get started