Shane A. Stillwell
Getting Jenkins ready for Node.js and AngularJS testing

Getting Jenkins ready for Node.js and AngularJS testing

Hold on Cowboy

This blog post is pretty old. Be careful with the information you find in here. The Times They Are A-Changin'

Setting up Jenkins for Node.js + Mocha testing and such

Install this stuff

  • Node.js via Nave
    • git clone https://github.com/isaacs/nave.git* ./bin/nave.sh usemain v.0.8.9
  • Mocha
    • npm install -g mocha
  • ChaiJS
    • npm install -g chai
  • xunit-file (Mocha custom report for Jenkins)
    • npm install -g xunit-file
  • Jshint
    • npm install -g jshint
  • Nock
    • npm install -g nock
  • Supertest
    • npm install -g supertest
  • Testacular
    • npm install -g testacular
  • PhantomJS
    • npm install -g phantomjs

Here is a handy script that will install v0.8.9 and all the others https://gist.github.com/4535632