JS Unit Testing Good Practices & Horrible Mistakes
Offered By: GOTO Conferences via YouTube
Course Description
Overview
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
Related Courses
Addressing Algorithmic BiasGOTO Conferences via YouTube Empowering Consumers - Evolution of Software in the Future
GOTO Conferences via YouTube Why Static Typing Came Back
GOTO Conferences via YouTube Higher Kinded Types in a Lower Kinded Language - Functional Programming in Kotlin
GOTO Conferences via YouTube It's Not Hard to Test Smart - Delivering Customer Value Faster
GOTO Conferences via YouTube