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

Codecademy

Learn JavaScript Unit Testing

via Codecademy

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
JavaScript Unit Testing teaches you to catch bugs early using test-driven development (TDD) and the Mocha testing library. You’ll focus on unit tests, which help ensure individual parts of your code work as expected, and prepare you for testing more extensive software features in future courses.

Syllabus

  • Why Test?: Learn the benefits of software testing and the terminology to explain them.
    • Lesson: Why Test?
    • Project: Cake O'Clock
    • Quiz: Why Test?
  • Write Good Tests With Mocha: Learn to use the Mocha framework and the Node.js assert library to write, automate, and organize tests in Javascript.
    • Lesson: Automate and Organize Tests
    • Lesson: Write Expressive Tests
    • Project: Rooster Regulation
    • Quiz: Learn Mocha
  • Learn Test-Driven Development With Mocha: Learners will practice test driven development to create their own JavaScript testing suite using Mocha.js.
    • Lesson: Learn TDD With Mocha
    • Project: Factorial Feature
    • Quiz: TDD With Mocha

Taught by

Kenny Lin

Reviews

4.4 rating at Codecademy based on 255 ratings

Start your review of Learn JavaScript Unit Testing

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.