it:adjasmine howto initialize your project directory
IT:AD:Jasmine:HowTo:Initialize your Project Directory
Summary
Jasmine can be using IT:AD:Node.JS.
Process
Use IT:AD:NPM to install it:
npm install -g jasmine
Now that it's installed, you can initialize your project's folder:
CD to your projects directory and init it:
cd c:\Spikes\Jasmine jasmine init
It will create a directory, putting a jasmine.json file in it:
/specs/ /specs/support/ /specs/support/jasmine.json
which defines which folder contain the specs and the file name format:
{
"spec_dir": "spec",
"spec_files": [
"**/*[sS]pec.js"
],
"helpers": [
"helpers/**/*.js"
]
}