Unit Testing JavaScript (with CoffeeScript)
Course on Master.dev by Justin Searls, David Mosher
- 4 h 46 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 34
- Lessons
- Oct 2015
- Published16 Oct 2015
About this course
Description from Master.dev
We are writing increasingly complex applications in JavaScript both in the Browser and the server-side using Node.JS. With this increased complexity comes a need to understand the nuances of testing. This course covers how to write testable code, types of tests, testing strategies, tactics and tips that will increase your ability to test JavaScript on the client and the server (Node.js). The unit tests are written in CoffeeScript, but the testing strategies you'll learn will be useful in pure JavaScript as well.
What it covers
34 lessons
- 01
Introduction
- Introduction
- Background
- CoffeeScript Basics
- 02
Roman Numeral Calculator
- Setup
- Test-Driven Development
- Writing and Refactoring Unit Tests
- Refactoring Application Code
- Questions
- 03
Node
- Testing Pyramid
- Discovery Testing
- Trees
- Integration Tests
- Other Dependencies
- Video 1: First Unit Test
- First Unit Test, continued
- Video 2: Generating a Problem
- Video 3: Picking Random Values
- Video4: Saving a Problem
- Video 5: Presenting a Problem
- Videos 6 & 7: Finishing the Application
- Discovery Testing Wrap-up
- 04
Lineman
- Lineman Background
- Video 1: Jasmine Fixtures
- Jasmine Fixtures, continued
- SpyOn Function
- Affix Function
- Video 2: AJAX Spies
- Video 3: Captors
- Connecting the Applications
- 05
Testium
- Testium Introduction
- Using Testium
- Testing Challenges
- Q&A Part 1
- Q&A Part 2
Similar JavaScript testing courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.