The Jasmine testing framework encourages the use of BDD in the applications on which it is used. In this section, we will briefly look into the syntax and steps needed to write a unit test for a JavaScript. The extensive documentation can be found at Jasmine's documentation site, at https://jasmine.github.io/.
Introduction to Jasmine
Jasmine syntax and terminology
Before we dive into a working example of how to use Jasmine to test the JavaScript, let's look at some of the terms that will be used in the upcoming sections, such as suite, spec, matcher, spies, setup and teardown.