Unit testing in JavaScript

4m
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.0
46
people completed
Bookmark
Download
RSS

Writing effective unit tests can be tricky in any language, and JavaScript apps often get neglected because testing UIs can be particularly tricky. While some of that can be solved by restructuring code and choosing tools that make everything more testable, it's also helpful to know some of the tricks of the JavaScript testing trade, like good mocking and stubbing practices. This playlist is full of tips for how to write tests that verify your code without any undesired side effects.

Instructor

Josh Mock

I love to teach the JavaScript language and ecosystem to developers at all levels. Exercising and teaching how to practice empathy as developers is a huge motivation for me.

I'm an avid music fan and collector. I volunteer DJ at WXNA, Nashville's non-profit, freeform radio station. I collect tattoos. I love to cook and travel. I'm currently learning to smoke meat, and to grow my own peppers to ferment them into hot sauce. Always learning how to be the best version of myself.

Course content (4 lessons)

    illustration for Unit testing in JavaScript