sproutcore/sproutcore — pull request #1085 by fairbanksg (2013-09-12 15:06:00+00:00)
Title: Adds an improved PhantomJS test runner.

This version uses the special abbot urls to get the list of tests to run.
This means it can be used to run the SproutCore unit tests, but also to
run the unit tests for your SproutCore app.

This makes use of the callPhantom API in PhantomJS to get detailed
results of the tests without needing to screen scrape.

Output will be the results for each test file. Any failing assertions will
be output as well. You can make this more verbose with -v and -V.
Exit status will be 0 if all tests pass, 1 if any tests fail, and 2 if
the test runner itself encounters an error.

To run, do:
> phantomjs phantomjs/test_runner.js

Use the -h option to get details on how to use it.

In addition, I updated the Travis CI configuration to use this.
It is set to run all tests except for those in the experimental frameworks.