To support our site, Class Central may be compensated by some course providers.

Taken this course? Share your experience with other students. Write review

Overview

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.



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.

Syllabus

Overview

This course consists of 2 lessons. In the first lesson, you'll discover the importance of testing and reconsider its purpose and the value it provides. In the second lesson, you'll explore the Jasmine testing framework write your own test suites while developing an address book application.

Lesson 1: Rethinking Testing

From education to aerospace, tests provide invaluable feedback to those that analyze the results. In this lesson, you'll learn all about the importance of testing, how to identify the expectations a test is attempting to validate and how to write expectations in code.

Topics covered:

  • What is a test?
  • Validating opinions
  • Identifying and defining expectations
  • Writing expectations in code

Lesson 2: Writing Test Suites

JavaScript doesn't support testing natively, so you'll need a framework to provide the functionality you need. In this lesson, you'll get an introductions to the Jasmine testing framework and use the red-green-refactor workflow to begin development on an address book application.

Topics covered:

  • Introduction to Jasmine
  • Writing suites, specs and tests
  • The red-green-refactor workflow cycle
  • Testing asynchronous functionality

Taught by

Michael Wales

Help Center

Most commonly asked questions about Udacity Udacity

Reviews for Udacity's JavaScript Testing
4.0 Based on 3 reviews

  • 5 star 33%
  • 4 star 33%
  • 3 star 33%
  • 2 star 0%
  • 1 star 0%

Did you take this course? Share your experience with other students.

Write a review
  • 1
Chris D
5.0 3 years ago
by Chris completed this course.
0 person found
this review helpful
Was this review helpful to you? Yes
Said A
3.0 2 years ago
Said completed this course.
Was this review helpful to you? Yes
Rus C
4.0 2 years ago
by Rus completed this course.
Was this review helpful to you? Yes
  • 1

Class Central

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.