CMUPracticum/TrailScribe — pull request #5 by jrasky (2014-07-29 16:05:04+00:00)
Title: Unit tests for TrailScribe

These changes include unit tests for TrailScribe, both for the native android app and for the JS OpenLayers interface.

Android tests are a half-project (formally a test project), and so need to be deployed as such.

`android update project --target android-19 --path . --subprojects`

`ant clean`
`ant debug`
`ant installd`

And `ant test` to run the tests after the above steps.

JS tests are run by starting a HTTP server in the TrailScribeWebTests folder, and navigating to the map_tests.html page.

The JS tests include a coverage report by blanket.js. The Android SDK includes a coverage tool, which is run with

`ant emma debug install test`