neo4j/community — pull request #270 by jakewins (2012-02-22 14:50:23+00:00)
Title: Unit test framework for webadmin

This adds support for the Jasmine javascript unit test framework, extending the current integration test suite for proper TDD development.

A single sample test is located in src/main/coffeescript/test/ribcage/ui/TestNano.coffee

Note that tests are not in src/test/coffeescript, due to limitations with the jasmine-maven-plugin handling compiling coffeescript and managing imports with require.js simultaneously (I can explain in detail if anyone cares).

See the server/README.md for how to run the tests and for how to launch Jasmine's web interface for fast test-code-test cycle.