Skip to content

JavaScript Testing

Free Course

Developing Apps with Confidence

Related Nanodegree Program

Introduction to Programming

About this course

In this course you'll learn how to write JavaScript applications with confidence, using the red-green-refactor workflow. You'll write comprehensive suites of tests that validate your application is functioning as intended at all times.

You'll start by exploring how other industries use a variety of tests and the value it provides. You'll then start writing your very own tests, using the Jasmine testing framework. Finally, you'll start developing your very own address book application using the red-green-refactor workflow and explore a variety of scenarios including testing asynchronous functions.

What you will learn

  1. Rethinking Testing
    • Validating opinions.
    • Identifying and defining expectations.
    • Writing expectations in code.
  2. Writing Test Suites
    • JavaScript doesn't support testing natively - you need a framework.
    • Introduction to the Jasmine testing framework.
    • Use the red-green-refactor workflow to start an address book application.

Why take this course?

As your applications become more complex and you continue adding new features, you need to verify your additions haven't introduced bugs to your existing functionality. Automated testing provides this functionality and allows you to focus on.

Learn with the best.

  • Michael Wales
    Michael Wales

    Instructor