This recipe introduces the
jasmine-reporters library, and it explains how to use
TerminalReporter for clear and concise output on the command line when using PhantomJS.
To run this recipe, we will need the following items:
jasmine-reporters library is a collection of advanced reporters for the Jasmine test framework. It is an open source (MIT licensed) project and is available at https://github.com/larrymyers/jasmine-reporters.
The library code that we will use for our tests is available in the downloadable code repository as
lib; the accompanying ...