July 2017
Intermediate to advanced
454 pages
10h 1m
English
Jasmine is a behavior-driven development framework for testing JavaScript code. This is how the official site explains Jasmine:
The general syntax of a Jasmine test suite is given as follows:
describe("Sample Test Suite", function() { it("This is a spec that defines test", function() { expect statement // asserts the logic etc });});
Let's analyze the preceding code snippet to understand the test suite syntax. The following steps have been followed:
Read now
Unlock full access