JavaScript Testing
Course
Online
Description
-
Type
Course
-
Methodology
Online
-
Start date
Different dates available
Learn how to iterate on your web applications with confidence using the red-green-refactor workflow cycle and automated testing frameworks.
Facilities
Location
Start date
Start date
Reviews
Subjects
- Testing
- Javascript
- Javascript training
- Writing
- Workflow
- Green
- Web
- Confidence Training
Course programme
Approx. 2 weeks
Assumes 6hrs/wk (work at your own pace)
Join thousands of students Course SummaryIn 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.
Prerequisites and RequirementsYou should be comfortable writing JavaScript and using its object-oriented programming features. If you need a refresher on these subjects, consider taking our JavaScript Basics and Object-Oriented JavaScript courses.
See the Technology Requirements for using Udacity.
What Will I Learn? Projects P6: Feed Reader Testing In this project you are given a web-based application that reads RSS feeds. The original developer of this application clearly saw the value in testing, they’ve already included Jasmine and even started writing their first test suite! Unfortunately, they decided to move on to start their own company and we’re now left with an application with an incomplete test suite. That’s where you come in. Syllabus OverviewThis 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 TestingFrom 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
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
JavaScript Testing