tonylukasavage/ti-mocha — pull request #21 by cb1kenobi (2014-08-19 23:44:29+00:00)
Title: Added a log watcher so that 3rd party tools can consume ti-mocha test result output.

The rationale is that we want to decouple the ti-mocha output format from tools that run ti-mocha tests.

The design is such that we pass every line of output from an iOS device or simulator to this log-watcher, then it handles all of the test result formatting and parsing. Once the log-watcher it has extracted all of the results, it fires the callback with a JavaScript object containing the results.

This change is needed for the `tio2` module and the `ioslib` module. `ioslib` does not use ti-mocha itself, but does use it in its tests.

P.S. Please version bump ti-mocha to 0.1.4 and publish to npm. Gracias! :)