Thanks to visit codestin.com
Credit goes to github.com

Skip to content

veacks/Backbone-AMD-Unit-test-boilerplate

Repository files navigation

FRONT-END BACKBONE, AMD, SASS, AND CHAI BOILERPLATE

ENVIRONMENT REQUIRED :

AUTORUN :

  • OSX 10.8+ : launchers/apple.autorun.app : launch "Compass", "Coffee-script" and "Test'em" in terminal.

CONFIGURATION :

  • Api : coffee/config.coffee

  • Unit-test : unit-test/test/config.json

TUTORIAL AND BEST PRACTICES :

First, launch the autorun. This one will allow you to compile automatically your coffeescript, Sass/Scss and run your unit tests on terminal in separated tabs.

Each modules must be defined in his own coffeescript file in the folder "coffee/app/modules".

To test it, you must reference in the unit test configuration file and create a test file in the folder "unit-test/test/" with the extention ".spec.coffee".

Test'Em run automaticaly your unit test coffeescript and delete the js output after test.

About

Backbone AMD Unit-test boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages