Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time

JS401 Intro to Unit Testing with Jasmine


Course Description

This workshop will provide an introduction to Test Driven Development, specifically in the Behavior Driven Development style, using the popular testing framework Jasmine.

The workshop will be a mix of lectures and hands-on exercises in pairs, and will be taught by [teacher X, tiny bio]. This is a great workshop for those who are looking to learn advanced JavaScript programming techniques. Testing is an essential skill for professional software developers.


Attendees should be comfortable with JavaScript objects, arrays, and functions, and they should also have a strong understanding of the JS DOM API. Attendees will benefit from a familiarity with jQuery, but it's not required. That means you should have either attended our JS 101, 102, and 200 workshops, or learned those concepts online.

You can review them online at a few places:

Tech requirements:

  • Your laptop (Mac, PC, or Linux) and charger.
  • A modern web browser - either Chrome or Firefox.
  • A text editor. We recommend Sublime Text 2 (free; available for both Mac and PC) or Notepad++ (PC).

Topics covered:

  • TDD and BDD definitions and approach
  • Suites and specs
  • Matchers
  • Spies
  • Connecting tests with your interactive web page