Jasminerice

screenshot of Jasminerice

Pain free coffeescript testing under Rails 3.1

Overview

Jasminerice is a powerful tool designed to streamline the testing of your CoffeeScript files within a Rails application. By seamlessly integrating with the Rails 3.1 asset pipeline, it simplifies the process of managing and testing JavaScript, making it an indispensable asset for developers keen on maintaining code quality. While the original maintainer, Brad Phelan, has shifted focus, the project continues to thrive through community contributions, ensuring that it remains relevant and useful.

With its emphasis on headless testing and straightforward installation, Jasminerice is ideal for developers looking to enhance their testing workflows. Whether you're starting a new project or maintaining an existing one, this tool provides the necessary functionalities to keep your CoffeeScript files organized and under test.

Features

  • Easy Integration: Automatically mounts the engine into your Rails application for development and test environments, simplifying setup.

  • CoffeeScript Compatibility: Facilitates the creation of spec files with ease, allowing you to manage all application JavaScript from a single location.

  • Fixtures Support: Makes it convenient to include fixtures, enabling easy testing of HTML and JSON files with clear URLs for access.

  • Sprockets Directives: Leverages Sprockets to include CSS files in your specs, keeping styles consistent and manageable during testing.

  • Helper Methods: Allows the declaration of custom helper methods for better organization and reusability throughout your specs.

  • Community Contributions: Although no longer actively maintained by its original developer, the project invites collaboration, encouraging community-driven enhancements and support.

  • MIT License: Distributed under the MIT License, providing ample freedom for modification and redistribution.