Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Online Course

JavaScript Testing

via Udacity

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

Related Courses

Reviews

4.0 rating, based on 3 reviews

Start your review of JavaScript Testing

  • Chris Duncan completed this course.

  • Said Aspen

    Said Aspen completed this course.

  • Rus Catalin completed this course.

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.

Sign up for free