Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

JS Unit Testing Good Practices & Horrible Mistakes

GOTO Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover best practices and common pitfalls in JavaScript unit testing in this 46-minute conference talk from GOTO Aarhus 2013. Learn how to write readable and maintainable unit tests, avoiding mistakes that can lead to frustration when modifying code later. Explore topics such as test reviews, mock objects, state-based testing, integration tests, and working with popular libraries like jQuery, Backbone, and Knockout. Gain insights on improving test readability, naming conventions, and setup methods. Benefit from the expertise of Roy Osherove, author of "The Art of Unit Testing," as he shares valuable tips for effective JavaScript unit testing.

Syllabus

Introduction
Horrible Mistakes
Test Reviews
Mock Objects
Differentiation
State Based
Integration Tests
OpenLayer
jQuery
jQuery bugs
Trust problem
Forced assertion counts
Readability
Comments
Naming
The Test of Doom
Backbone
Jasmine
Knockout
Setup Methods
Test Multiple Methods

Taught by

GOTO Conferences

Reviews

Start your review of JS Unit Testing Good Practices & Horrible Mistakes

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.