Next Monday, prepare to go to the company's JavaScript TDD training camp. Previously just scattered use of JavaScript, level equivalent to small white, clumsy birds have, in advance to the environment tinker.
Steps:
1.nodejs Installation
Download the pkg package to http://www.nodejs.org/. And then all the way next. Get installation path prompt after installation
Node is installed at
/usr/local/bin/node
NPM is installed at
/usr/local/bin/npm
Make sure That/usr/local/bin are in your $PATH.
This nodejs the environment to settle well.
2. Unit Test Framework Jasmine Construction
Into the Jasmine home https://github.com/jasmine/jasmine.
Locate the installation method:
NPM Install-g Jasmine
3.MoCha Construction
NPM Install-g Jasmine
View the build process, all in a soft connection. Originally the first step of the PKG package to all the modules have been downloaded. It seems to be the standard of Nodejs.
Quick fix. Wait for next Monday.
JavaScript's TDD training camp Environment Building