O'Reilly logo

Jasmine Cookbook by Munish Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Jasmine with CoffeeScript

CoffeeScript exposes the good parts of JavaScript in a simple and straight manner. It is a language that compiles into JavaScript. The compiled output of CoffeeScript is readable and works in every JavaScript runtime environment. To know more about CoffeeScript, you can visit the following website:

http://coffeescript.org/

In this recipe, you will learn how to create Jasmine tests for CoffeeScript.

To understand this recipe, let's assume that you are developing an application for a bank with CoffeeScript and you have to develop test code to implement business logic for opening a new bank account.

"As a CoffeeScript developer, I want to implement business logic to validate a person's age so that I can implement a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required