gradle-scala-rest-archetype

This is an extremely simple example for angular js and jasmine.

angularJs is a javascript framework and jasmine is a javascript test-framework. Booth are a very powerfull combination.

angularJs

angularJs

  • Under main/libs are the angularJs libs.
  • Under main/example.html is a simple html which uses a javascript controller.
  • Under main/todoController.js is a simple javascript controller.

Jasmine

Jasmine

  • Under test/libs are the Jasmine libs.
  • A testsuite is located under test/SpecRunner.html. You can open it and the tests are executed.
  • Under test/spec the tests are written