About This Course

Jasmine is an open-source behavior-driven development framework used in testing code written with JavaScript. It does not require a DOM. And it has a clean, obvious human-readable syntax so that developers can easily write tests.

The Jasmine Foundations training course explores how to use Jasmine to write test-driven and behavior-driven tests. It covers the core Jasmine concepts and shows how Jasmine compares to other JS testing frameworks.

Request More Info About This Course

Course Category


This is a one-day hands-on course.

Skill Level

What Happy Developers Say

The instructor did a good job of adjusting content to meet different skill levels.
Developer, Intuit
The instructor was very knowledgeable, making it easy to ask questions and provided good conversation about the topic at hand.
dell  logoWeb Developer, DELL
The instructor demonstrated strong broad knowledge as well as technical in-depth when appropriate
Engineer, Starbucks
I liked that we could determine what to learn, no time was wasted.
Javascript Developer, RetailMeNot
I had trouble understanding a certain concept, and told the instructor that I just didn't get it. While the class was busy with an exercise, he sat down with me, gave me material to read, and made sure I understood it before I moved on. I really appreciated that.
JavaScript Developer, PayPal
The instructor has a great attitude and pacing. Amazing how much he knows about JS!
Junior JavaScript Developer, Macy's


  • Describe how Jasmine compares to other JS testing frameworks, like JSPec.
  • Describe the Jasmine testing lifecycle.
  • Implement tests, including spies and mocks.


Experienced JavaScript developers looking to learn about testing with Jasmine.

Course Outline

  • Core Jasmine Testing Concepts
    • Unit Tests
    • Integration Tests
    • Stubs, Spies, Mocks and Other Test Doubles
    • What, When and How Much to Test
    • BDD/TDD Overview
    • Introduction to Jasmine
  • Configuring Our Environment
    • Getting Jasmine
    • Setting Up
    • Hello World!
    • Other Expectation Frameworks (JSPec, Sinon, Chai)
  • Jasmine Structure and Syntax
    • Suites & Specs
    • Matchers
    • Spies
    • Deferring Tests
    • Testing Time-based Logic
    • Testing Asynchronous Logic
  • Anatomy of a Test
    • When Do I Test?
    • What Do I Test?
    • How Do I Test?
    • How Do I Know My Test is Good?
  • Automated Testing
    • Console Testing with NodeJS
    • Parallel Browser Testing with Karma
    • Grunt Task Runner
    • Headless Testing with PhantomJS
Request More Info About This Course

Who Takes This Training?

Learn More About This Course