HEADLESS = phantomjs
TESTING = jasmine
CONTINOUS INTEGRATION = git
Sencha Touch 2 = awesome!
install and make sure phantomjs is installed and then eihter run manually
phantomjs app-test/run-jasmine.js run-tests.html
or/and copy *.git/hooks/pre-commit* into your project and let the hook run the tests
And to to run with JUnitXmlReporter (e.g for Jenkins integration):
app-test/lib/phantomjs.runner.sh run-tests.html