© Panos Matsinopoulos 2020
P. MatsinopoulosPractical Test Automationhttps://doi.org/10.1007/978-1-4842-6141-5_1

1. Introduction to Jasmine

Panos Matsinopoulos1 
(1)
KERATEA, Greece
 

In this chapter, you are going to learn Test-Driven Development (TDD) using Jasmine.

TDD is a very popular development methodology. You can find lots of articles online about it and pictures like these (Figure 1-1).
../images/497830_1_En_1_Chapter/497830_1_En_1_Fig1_HTML.jpg
Figure 1-1

TDD Flow

On the other hand, Jasmine is a very popular testing framework for JavaScript code.

You are going to learn how to write your testing code and how to integrate it into a runner HTML page.

You will be able to see the test runner generating results ...

Get Practical Test Automation: Learn to Use Jasmine, RSpec, and Cucumber Effectively for Your TDD and BDD now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.