Test Driven Development

In this lesson, we'll learn what Test Driven Development (TDD) is, the three categories of tests involved, what Unit Tests are and how to build and run them.

We'll cover the following...

Types of tests #

There are three broad categories of tests that can be automated in web apps.

  1. Unit tests
  • These test individual functions. For example, if you have a function that’s supposed to return true given a certain input and false otherwise, that’s easily testable with unit tests.
  • It only covers JavaScript code
  1. Integration tests
  • These test functions that are working together. For
...