Mocha
- Learn more
- Official website
Related articles
![Catch 'uncaughtException' error in your mocha test Catch 'uncaughtException' error in your mocha test](/static/89827a9c6bd480b4f0ab607d0fb9a2a1/0fd76/mocha-uncaught.png)
Catch 'uncaughtException' error in your mocha test
Categories: Node.js | Tags: DevOps, Mocha, JavaScript, Unit tests
This isnāt the first time I faced this situation. Today, I finally found the time and energy to look for a solution. In your mocha test, letās say you need to test an expected āuncaughtExceptionā¦
By David WORMS
Oct 27, 2013
![Crawl you website including login form with Phantomjs Crawl you website including login form with Phantomjs](/static/81133dbefc7864724eb3ac883c95eb6b/0fd76/phantomjs.png)
Crawl you website including login form with Phantomjs
Categories: Front End | Tags: Mocha, CoffeeScript, JavaScript, Node.js, Unit tests
With PhantomJS, we start a headless WebKit and pilot it with our own scripts. Said differently, we write a script in JavaScript or CoffeeScript which controls an Internet browser and manipulates theā¦
By David WORMS
Nov 27, 2013
![Tutorial for creating and publishing a new Node.js module Tutorial for creating and publishing a new Node.js module](/static/03fe77c288e9f30c15c808d9ff67221b/0fd76/nodejs-module.png)
Tutorial for creating and publishing a new Node.js module
Categories: Front End | Tags: Learning and tutorial, License, Mocha, NPM, Travis CI, CoffeeScript, GitHub, JavaScript, Node.js, Unit tests
In this tutorial, I provide complete instructions for creating a new Node.js module, writing the code in coffee-script, publishing it on GitHub, sharing it with other Node.js fellows through NPMā¦
By David WORMS
Dec 3, 2013
![A fresh look at testing Node.js projects: Mocha, Should and Travis A fresh look at testing Node.js projects: Mocha, Should and Travis](/static/5127d61ac473d83d74b8ec737891a666/0fd76/mocha-shouldjs-travis.png)
A fresh look at testing Node.js projects: Mocha, Should and Travis
Categories: DevOps & SRE, Node.js | Tags: DevOps, Mocha, CI/CD, JavaScript, Node.js, Unit tests
Today, I finally decided to spend some time around Travis. Itās been a few weeks since that little green image on top of many GitHub homepages has been buzzing me. Well, to be totally honest, this isnā¦
By David WORMS
Feb 19, 2012