Jasmine Rails

screenshot of Jasmine Rails

A Jasmine runner for rails projects that's got you covered in both the terminal and the browser

Overview:

The jasmine-rails gem is a tool to help integrate Jasmine into Rails workflows, specifically for Rails 3.2 or later versions. It allows users to run Jasmine specs in a browser powered by a Rails engine, run specs from the command line with PhantomJS, and write specs or source in CoffeeScript using the asset pipeline.

Features:

  • Integration with Rails Workflow: Makes it easier to integrate Jasmine into Rails 3.2 or later projects.
  • Browser and Command Line Support: Allows running Jasmine specs in a browser and from the command line using PhantomJS.
  • CoffeeScript Support: Enables writing specs or source in CoffeeScript and leveraging the asset pipeline.

Summary:

The jasmine-rails gem simplifies the process of integrating Jasmine into Rails projects, offering features like running specs in a browser or from the command line, supporting CoffeeScript, and integrating with the Rails asset pipeline. By following the installation guide and configuring the necessary files, developers can streamline their testing workflow and write efficient specs for their Rails applications.