Skip to content

Jasmine Behaviour Driven Development

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

Source: jasmine.github.io

User Guide

For more information on how to install it and use it, please see the Jasmine BDD Getting started.

Jasmine formatters

Jasmine BDD comes in 3 different programming languages. Have a look at yours for the possibilities.

For Node.js we recommend having a look at the NPM results page for you possibilities and take what fits your stack the best.

We have not been able to test any of the reporters, be we would recommend choosing in the following order:

  • NUnit
  • XUnit
  • Mocha

Unfortunately the Jasmin Ruby library is very little used. We do not have any clear documentation on the types of output formatters they support. If you do, please let us know!

Unfortunately the Jasmin Python library is very little used and maintained. We do not have any clear documentation on the types of output formatters they support. If you do, please let us know!

Calliope currently supports only the JUnit XML format. Make sure to select it when exporting reports which are meant to be sent to Calliope.