3.3 Headless Testing Frameworks
In-browser testing frameworks are unfit to support a test-driven development process where we need to run tests frequently and integrated into the workflow. An alternative to these frameworks is headless testing frameworks. These typically run from the command line, and can be interacted with in the same way testing frameworks for any other server-side programming language can.
3.3.2 Rhino and env.js
3.3.3 The Issue with Headless Test Runners