Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
coffee
complex
handlebars
simple
README.md

README.md

###To run both the simple and complex examples

###Install PhantomJS on your machine brew install phantomjs or apt-get install phantomjs

###Pull down this git repository git clone https://github.com/toranb/jasmine-phantom-node.git

###Extract the example you want to work with cd examples mv simple ~/simple

###Install jasmine-phantom-node using npm in the root of the example cd ~/simple npm install jasmine-phantom-node

###Run the javascript tests in the project using jasmine-phantom-node from the root of the example node node_modules/jasmine-phantom-node/bin/jasmine-phantom-node webapp/static/tests

###For the coffee example pass the optional --coffee flag along with the test directory node node_modules/jasmine-phantom-node/bin/jasmine-phantom-node webapp/static --coffee