Animatron/player — pull request #72 by shamansir (2013-03-04 01:04:56+00:00)
Title: Tests Automation

Changed `TerminalReporter` to `TAPReporter` (see [Test Anything Protocol](http://en.wikipedia.org/wiki/Test_Anything_Protocol)), which is, for sure, better.

Improved `./run-with-phantomjs.sh` and all `html`-files with test groups to work much easier and do not require to specify all the files of the specs in a lot of places. It is done with the help of [RequireJS](http://requirejs.org/).

New `./run-with-phantomjs.sh` behavior:

Usage:
- run all specs: `> ./run-with-phantomjs.sh`
- run all specs: `> ./run-with-phantomjs.sh *`
- run testutils specs: `> ./run-with-phantomjs.sh 00.testutils`
- run all player's specs: `> ./run-with-phantomjs.sh 01.player/*`
- run specific spec group: `> ./run-with-phantomjs.sh 04.builder/13.enable-disable`

Files:
* `spec/spec-list.js` (list of all specs)
* `require-files.js` (list of all js-files that may be required by tests)
should be both complete if something new was added for this script to work (or it will fail with scripterror from RequireJS)