JavaScript Testing
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 …
JavaScript Testing
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.
Learn how to iterate on your web applications with confidence using the red-green-refactor workflow cycle and automated testing frameworks.
[
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.
]
lesson 1
Rethinking Testing
Validating opinions.
Identifying and defining expectations.
Writing expectations in code.
lesson 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.