Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn the tools and techniques to write comprehensive unit tests for your clientside JavaScript code.
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.
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.