I previously wrote about the internals of Mocha. The reason that I was intrigued by the inner workings of Mocha was because I was in the process of building a functional testing tool - Phantom Mochachino. Phantom Mochachino is an extension of Mocha which works with the PhantomJS headless web
In an attempt to extend the functionality of Mocha for a specific use case I was required to look into its source code. I wanted to write the flow down so it was clearer to myself. Maybe someone else will find this useful. Mocha Firstly you have the Mocha 'object'
I have been playing around with a number of open source projects pertaining to testing different aspects of a web based application. Over the past few days i have been playing with PhantomJS, Mocha, and Chai. What is PhantomJS? PhantomJS is a full stack headless web browser based on Webkit.