Last Updated: February 25, 2016
·
6.493K
· frankrousseau

Use Mocha and PhantomJS to automate the testing of web application front-ends

PhantomJS is an headless WebKit.

Mocha is the most common testing framework in the Node.js world.

Mocha and PhantomJS can be used together with continuous integration servers such as Bambo, Travis and Jenkins.

The mocha-phantomjs project provides a file and extensions to drive PhantomJS while testing your HTML pages with Mocha from the console.

check out the sites :

http://phantomjs.org/
http://metaskills.net/mocha-phantomjs/

Have a fresh tip? Share with Coderwall community!

Post
Post a tip