Skip to content

A framework to quickly get up and running with CoffeeScript and Jasmine, using PhantomJS

Notifications You must be signed in to change notification settings

scottydawg/coffeescript-jasmine-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coffeescript-jasmine-boilerplate

coffeescript-jasmine-boilerplate is a small framework that was created with code katas in mind. It gives you a quick way to begin writing and testing CoffeeScript with Jasmine.

Getting Started

First, you'll need node.js and PhantomJS installed.

Next, clone the repo and create your project:

$ git clone [email protected]:andrewvida/coffeescript-jasmine-boilerplate.git <your-project-name>

Then, install grunt and all of its dependencies from the root of your project:

$ npm install

About

coffeescript-jasmine-boilerplate includes several plugins that allow you to focus on your kata. grunt-contrib-watch has been configured to keep an eye on whenever CoffeeScript files change. grunt-contrib-coffee will automatically compile your CoffeeScript into JavaScript and grunt-contrib-jasmine executes your jasmine specs.

Also included is jasmine-given. It is a jasmine helper that encourages leaner, meaner specs using Given, When, and Then.

Usage

Once you're ready, kick it off by executing:

$ grunt watch

--NOTE: grunt-contrib-watch is still work in progress, so if you add a new .coffee file and nothing happens, you can compile manually and run the tests by using:

$ grunt coffee

then

$ grunt jasmine

About

A framework to quickly get up and running with CoffeeScript and Jasmine, using PhantomJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 100.0%