Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Testing JavaScript with Jasmine

Course Summary

The Testing JavaScript with Jasmine course is designed to demonstrate how to write Behavior-Driven Development (BDD) JavaScript using Jasmine.

The course begins by comparing Jasmine to other common JavaScript testing Frameworks like Jest, Jspec, and Mocha. Next, it explores the Jasmine testing life-cycle. The course concludes by analyzing how to build and implement tests, including the use of spies and mocks.

Purpose
Learn how to write BDD JavaScript using Jasmine.
Audience
JavaScript developers looking to adopt Jasmine.
Role
Web Developer
Skill Level
Intermediate
Style
Workshops
Duration
1 Day
Related Technologies
JavaScript | Web Development | Testing

 

Productivity Objectives
  • Determine how Jasmine compares to other JavaScript testing frameworks
  • Describe the Jasmine testing lifecycle
  • Implement tests, including spies and mocks

What You'll Learn:

In the Testing JavaScript with Jasmine training course, you'll learn:
  • 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
    • Get Jasmine
    • Set up
    • Hello World!
    • Other expectation frameworks (JSPec, Sinon, Chai)
  • Jasmine Structure and Syntax
    • Suites & Specs
    • Matchers
    • Spies
    • Defer Tests
    • Test time-based logic
    • Test 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 test with NodeJS
    • Parallel browser test with Karma
    • Grunt Task Runner
    • Headless test with PhantomJS
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.